frontend form action: save as draft or publish in my frontend entry form I have a "save as draft" submit button.
The current action for this form is the following, which saves the entry submitted through the form as a draft (status: disabled):

&lt;input type="hidden" name="action" value="entryRevisions/saveDraft"&gt;


Next to the "save as draft" button I would like to have a "publish" button. If the user clicks on it the entry should be submitted as "status: live". If the user clicks on "save as draft" it should be submitted as "status: disabled". Any idea how to do this?
I believe you're looking for entryRevisions/publishDraft:

&lt;input type="hidden" name="action" value="entryRevisions/publishDraft"&gt;


You can see the specific inputs it is looking for here: https://github.com/craftcms/cms/tree/master-v2/src/controllers/EntryRevisionsController.php#L188