form submission, how to make the default behaviour to unpublished?

Topics: Administration, Core, Customizing Orchard, General
Aug 28, 2012 at 12:47 AM


when submitting a form, how can I make the default submission mechanism to default to unpublished?

Aug 28, 2012 at 10:23 PM
Edited Aug 28, 2012 at 10:24 PM

I'm not sure what you mean. Do you mean you want to make the "Save" button the default instead of the "Publish" button (in case of draftable content)? If so, I believe that's already the case, in that sense when you submit the form by hitting "enter", the "Save" action is executed, not the "Publish" action.

Aug 28, 2012 at 10:42 PM

Sorry for the confusion. I have created a content type of type custom form wherein the "Draftable" is uncheck. Once I have it set to true, every form submission now is not publish automatically.. Thanks sfmskywalker.


Aug 28, 2012 at 11:00 PM

No problem, glad to hear you solved it.