Create a Frontend Submission from an existing CPT
Support › MB Frontend Submission › Create a Frontend Submission from an existing CPT
- This topic has 5 replies, 2 voices, and was last updated 3 years, 5 months ago by
Long Nguyen.
-
AuthorPosts
-
November 10, 2021 at 1:44 PM #31839
Tony
ParticipantHi,
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.
November 10, 2021 at 2:41 PM #31841Tony
ParticipantI'm trying re-creating this existing frontend form submission to make it do the following:
- Have a multi-step form
- Style it better
- Remove or don't need unnecessary fields.
You can see their example.
https://webnus.net/modern-events-calendar/front-end-submission/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:
- When the user submits, the submission will be pending but the user will get notified of the submission via email and also when the post gets approved. Is there such a feature in MB that does this?
- All the user to edit their post without the user profile/dashboard. Is this possible?
November 10, 2021 at 8:35 PM #31849Tony
Participantis this the only way to get support?
November 11, 2021 at 10:54 AM #31863Long Nguyen
ModeratorHi Tony,
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
https://docs.metabox.io/extensions/mb-frontend-submission/#form-actions2. 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.November 15, 2021 at 2:50 AM #31918Tony
ParticipantSo, I can create a frontend submission for an existing cpt that's not created by metabox?
November 15, 2021 at 10:57 AM #31926Long Nguyen
ModeratorHi,
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
For example
[mb_frontend_form post_fields="title,content" post_type="your-cpt-slug"]
-
AuthorPosts
- You must be logged in to reply to this topic.