Unable to save due to email field is set to required

Support MB Builder Unable to save due to email field is set to required

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #49127
    Julian SongJulian Song
    Participant

    I wonder anyone faced the same issue.
    Unable to save in the builder due to email field is set to required.

    https://share.ulement.com/6qungYqe

    #49129
    PeterPeter
    Moderator

    Hello Julian,

    Thanks for reaching out.

    I'm not able to reproduce the issue on my site. Can you please export the field group to a JSON file and share it with me? Following this documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #49142

    Hello, I'm experiencing the same issue.

    When a field is marked as required and the configuration is saved, any attempt to add, remove, or update custom fields afterward becomes impossible.

    I’ve recorded a short video demonstrating the problem:

    👉 https://www.youtube.com/watch?v=Z4gkSxhKqA8

    #49143
    A.A.
    Participant

    I am facing a similar issue that began to occur after the Meta Box AIO 3.2.0 update (or at least that is when I noticed it). Only for me, I don't have an email field. I have four required fields and I am requested to enter something in the first and last required fields in order to save any changes to the custom fields metabox.

    Interestingly, it only requests it for 2 out of the 5 required fields I have. Those two fields are "text" type fields, the others area text area and dropdowns.

    It does not actually "save" the inputs from what I can see, it just requests saving similar to what the original poster described (and showed in their video). It does not affect saving or the custom fields from working, but it is annoying to have to enter in something random every time I edit my fields and save.

    #49156
    AdrienAdrien
    Participant

    I have the same issue, and I just updated to Meta Box AIO 3.2.0 as well, I cannot save my Field group because of required text in the right when editing a Meta Box Field group

    #49161
    HelmsHelms
    Participant

    I'm also having this issue. My first field is a required field (text field), but even if I change it to not being required and try to save, I still get the 'Please fill our this field' error. Also experiencing this issue after update to Meta Box AIO 3.2.0. It also will save the custom fields if I enter text in the first field.

    #49164
    PeterPeter
    Moderator

    Hello,

    I've received a report from a user which is similar to this issue. It happens when you set the conditional logic which is not available in the current field group. Can you please remove the conditional logic and recheck this?

    #49165
    A.A.
    Participant

    In my case (described above) I do not have conditional logic for this particular set up.

    #49167

    If you need to keep working with custom fields while the HTML5 validation issue is being fixed, you can temporarily disable validation by running this JavaScript snippet in your browser console before saving your changes:

    document.querySelectorAll('form').forEach(form => {
      form.noValidate = true;
      form.querySelectorAll('[required]').forEach(el => el.removeAttribute('required'));
    });

    This will allow form submissions without HTML5 validation blocking the save action.

    #49169
    PeterPeter
    Moderator

    Hello,

    Our development team is working on this issue to fix it. The fix for this issue should be included in the next update of Meta Box plugins.

    Thanks for your patience.

    #49180
    A.A.
    Participant

    @Konstantinos: That is a thoughtful contribution and temporary solution, thank you. But in my case I can just enter anything in the fields it nags me about, such as 0, and then it lets me save. The 0 or whatever value I enter would not be saved in the database or anywhere I have seen so far, therefore that is how I am dealing with it until the next update: just enter anything and click save and move on until I have to edit it again.

    #49181
    A.A.
    Participant

    Also, thank you Peter and the Meta Box team for working on resolving this soon.

    #49307
    AdrienAdrien
    Participant

    Any update on this? It's painful having to write text in all required fields before saving...

    Thanks Peter

    #49309
    PeterPeter
    Moderator

    Hello,

    This issue has been fixed in the new version of Meta Box AIO 3.3.1 or MB Builder 5.1.3.

    Thanks.

    #49310
    AdrienAdrien
    Participant

    Hello Peter,

    No it's not, and I have Meta Box AIO 3.3.1: https://markuphero.com/share/FrogME1X9oP2LRdxKqQ6

    I clear all site / cache data and I cannot update the Field Group if I have required fields: https://markuphero.com/share/YIdF16VCJfbZushKc9qC

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