- This topic has 4 replies, 2 voices, and was last updated 1 year, 9 months ago by .
I got the frontend form to work which allows me to add new records to a given CPT. In this case, my CPT is Packages.
here is my shortcode:
‘[mb_frontend_form id=”packages” post_fields=”title” submit_button=”Awesome!”]’
since the shortcode displays all custom fields for my form “packages”, I’m assuming that by entering the data on the front end and also displaying the post title on the same form that all of the custom field data will be saved to a specific record. unfortunately, the custom field data isn’t saving. what I get is a new record in “packages” with the correct title, but none of the custom field data.
see here: https://snag.gy/xDwMzr.jpg. you can see I have created a new title and entered data in the custom fields.
but after submitting the form, none of the custom field data is saved to the new record. see here: https://snag.gy/Pr2x0j.jpg
- You must be logged in to reply to this topic.