Custom Fields
Re-Envisioned
Support MB Frontend Submission Creating a simple Meta Box and trying to use the shortcode generates save error

  • Creator
    Topic
  • #29546
    Jim Hunter
    Participant

    I have a new WP install with ONLY Meta Box and AIO plugins installed. I created a simple CPT called attendee. I then created 2 custom fields for 'First Name', 'Last Name' in a field group assigned to Attendee. So far, simple. It works as a CPT and I can enter in first/last name info. I added the shortcode, as created by Meta Box, to a test page and tried to update the page, but I always get:

    Updating failed. The response is not a valid JSON response

    If I capitalize the first letter of the ID, the save works, but naturally when you view the page in the front end, it is just a title and content, no custom fields because the field group name did not match exactly. But when it does match, you can't save the page. Here is the shortcode I am trying to use:

    [mb_frontend_form id="attendee_group" post_fields="title,content"]

    Thanks,
    Jim

Viewing 3 replies - 11 through 13 (of 13 total)
  • Author
    Replies
  • #29591
    Long Nguyen
    Moderator

    Hi Jim,

    It might be a caching issue. I didn't see any issue with the frontend submit shortcode on your site

    [mb_frontend_form id="attendee_group" post_fields="title,content" post_type="attendee"]

    Screenshot https://imgur.com/L7Y9kmR

    #29593
    Jim Hunter
    Participant

    FYI, I installed MB on a different domain (one that is up and running fine), hosted on a different server/different company, and when I try and create custom fields, the entire area where you define the fields goes blank. So far I am 0 for 2 on getting this to work. And it didn't matter if Classic Editor was enabled or not, same behavior.

    Custom Field setup missing.

    #29594
    Jim Hunter
    Participant

    Well if that don't take the cake. I did everything to make it work, but it works for you right off. I even disabled the cache on the site because that occurred to me as a potential issue.

    On with my testing.

    Thanks for your tenacity in assisting me.

    Jim

Viewing 3 replies - 11 through 13 (of 13 total)
  • You must be logged in to reply to this topic.