Support Forum
Support › MB Frontend Submission › Custom submit buttons
I've read everything on the forum about saving posts as draft, publish or pending, which, unfortunately doesn't add up to much, so I could still use some help on this.
I would rather not use the submit button from in the shortcode for a couple of reasons:
1. whereas my authors can only save a submission as pending so that it can be reviewed with every submission and resubmission, no matter what stage in the workflow it's in, admins can save any post as as draft, schedule it for immediate or future publication, or delete it and send the author and email so I want at least two distinct, , and sometimes three, independent buttons.
2. Using the radio select to change how the post is saved doesn't change the text on the save button, which is confusing.
I want to create my own save buttons so that when I select one it says and does what it's supposed to, that has to be possible, it makes no sense that it's not. I can create a button to go to another page, why can't I just code a button to save the form content using similar code to what's in the shortcode?
In short, can I make buttons that save to different statuses, or, at the very least, conditionally rename the shortcode created button?
Currently multiple saving options would be my second top suggestion for the plugin.
The top suggestion would be the ability to move fields in to, out of, and between groups. That would be a huge time saver.
Hi Becky,
Thank you for your feedback.
The frontend submission form does not bring all options of the editing post on the backend to the frontend. It only supports some required options to create/update a post, even the post status is not included as you can see.
If you are familiar with coding, there are some action/filter hooks that you can use to customize the form on your own. Please read more here https://docs.metabox.io/extensions/mb-frontend-submission/#form-actions
Regarding the ability to move fields between field groups, you can manually delete a custom field in a group and create a new one with the same field ID (and maybe settings) in another field group to move it manually.
But can I create a button in the form to submit the post rather than using the shortcode submit button, and if so, how would I code that button?
Hi,
Support customizing our plugin for a/some specific case is beyond the scope support of Meta Box. You can create a service request via this contact form https://metabox.io/contact/
our development team will take a look, estimate the job and get back to you with a quote.
Refer to this topic https://support.metabox.io/topic/support-policy/