Front End Submission not editing custom post fields

Support MB Frontend Submission Front End Submission not editing custom post fieldsResolved

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #37040
    Jacob GreenhowJacob Greenhow
    Participant

    I have two different forms for front end submission which are editing the custom fields for the post they are shown in. Both used to work fine but now one is not working. The shortcode that works is this;
    [mb_frontend_form id='beach-field' post_fields='title' post_id='current']
    The one that is failing is this. I also tried turning on edit= true and this made no impact.
    [mb_frontend_form id='beach-photo-basic' post_fields='title' post_id ='current']
    Debug.log shows nothing and I have turned off all plugins to see if the issue still persists and it does. The metabox plugin is also updated. Not sure what else to do to try and fix the issue.

    #37041
    Jacob GreenhowJacob Greenhow
    Participant

    In terms of the actual issue I can modify the title through the front end and it updates fine. It's only the custom fields that do not get populated. If I update the custom fields from the back end the front end displays the updated values.

    #37050
    Long NguyenLong Nguyen
    Moderator

    Hi Jacob,

    Please share your site credentials via this contact form https://metabox.io/contact/, I will take a closer look. Thanks.

    #37095
    Timo WesselsTimo Wessels
    Participant

    If I'm allowed to post it here instead of in a new one.

    The same is happening with me too!

    There were no changes in the way how I create or key in the shortcodes for the Front End Submission.

    1. I deactivate all Plugins.
    2. I try the Query Monitor, but there were no real issues.
    3. The max_input_vars is already by 10.000

    Then, I used a Backup from June.
    I deactivated again all Plugins.
    But...... before I updated Metabox from 5.6.4 to 5.6.5 it worked, after I only did the Update the Front End Submission wasn't saving any custom fields.

    So there might be a Bug in the Update?

    I can give you access to my Staging Site

    #37107
    Long NguyenLong Nguyen
    Moderator

    Hi Timo,

    Please share the staging site credentials and some screenshots of the issue via the contact form. I will take a closer look.

    #37156
    Jeremy ParrottJeremy Parrott
    Participant

    Same once I did the latest updates... had to revert to backup because it is a production site. The data will not save when more than 1 metabox is linked to the same table.

    #37159
    Jacob GreenhowJacob Greenhow
    Participant

    I have just shared my site details so hopefully, you can take a look Long. Let me know if you have any issues with access ect.

    Some ways that I am working that might be related to the issue
    • I am storing the information in a custom table.
    • I have two different field groups attached to the same custom table (‘beach photo basic’ and ‘beach photo advanced’)
    •I am using oxygen builder on my site. But I did manage to recreate the issue without Oxygen turned on

    #37165
    Jacob GreenhowJacob Greenhow
    Participant

    Jermey post was right about what is causing the issue. I have just run a test on my website and I managed to recreate the issue.

      I had a custom post type of 'location'.
      I created a custom field group called 'location' and set this up to use a custom table
      I added the shortcode to the 'location' post type so I could edit each post from the front end. This worked as expected.
      I created another custom field group called 'location 2' using the same custom table.
      I tried to update the custom post from the front end and it no longer worked.
      I removed the field group called 'location 2' and the front-end submission worked again.
    #37305
    Jeremy ParrottJeremy Parrott
    Participant

    Jacob, I think this was a pretty major bug in the last release. Based on the user, I need to show some fields and not others from the same page view. The only way to do this is to create the form different ways. It had always worked well until this update and it took me forever to figure out. Hopefully they will have a release soon to fix this.

    #37350
    Long NguyenLong Nguyen
    Moderator

    Hi Jeremy,

    I've tried to reproduce the issue on my demo site but did not see that. I have two field groups saved field value to one custom table. The field group is assigned to a CPT (job) and the frontend form display them on the frontend. Please check this screen record https://monosnap.com/file/seiz493QlKhv6JtQKgoc60MLPIdJYT

    #38368
    Timo WesselsTimo Wessels
    Participant

    Thanks for the latest Update. Now everything is saving and working like expected =)

    Which means the Forms Data are now saved again on the Custom Tables =)

    thanks a lot =)

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.