I need to have 2 submit buttons in a form i’m building.
one button to submit the form and make the status ‘draft’.
2nd button submits the form and marks it as ‘published’.
the idea is that this form is filled out by a woocommerce customer with extra details for an order.
the user can edit the form, add details and save it (as a draft).
once the user has filled in all the details the can ‘save and send’ after which the form is published in the admin and no longer editable by the user.
any suggestions how i can do this?