Support › MB Frontend Submission › Create a Frontend Submission from an existing CPT
Wondering if this was possible and what it would take if I can grab all the meta key values from the CPT that was created by another plugin.
Ideally, I'd like to create a customized Frontend Submission form that special users can use to submit the cpt.
I'm trying re-creating this existing frontend form submission to make it do the following:
You can see their example.
The tricky parts I'll need help with is tying their meta key values in array for the "Add Ticket" repeating group works. Does anyone know how this can be done?
Other Questions in relation to Frontend Submissions:
is this the only way to get support?
Let me answer your questions.
1. When the user submits, the submission will be pending but the user will get notified of the submission via email.
Yes, it is possible. You can follow this documentation to know how to do with coding
2. and also when the post gets approved
You can also create a custom function to send an email to the user after you approve the post.
3. All the user to edit their post without the user profile/dashboard.
No, if they do not edit the post on the frontend dashboard, they can edit their posts on the backend (admin area).
4. Have a multi-step form
The frontend submit does not support showing multi-step form.
5. Style it better - Remove or don't need unnecessary fields.
You can customize the form on your own with custom CSS code. Create a new field group with necessary fields and put the field group ID to the frontend submission shortcode to show on the form.
So, I can create a frontend submission for an existing cpt that's not created by metabox?
Yes, of course. Meta Box can work with all available post types even it is created by the code or another plugin. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
[mb_frontend_form post_fields="title,content" post_type="your-cpt-slug"]