Required Fields Being Ignored

Support MB User Profile Required Fields Being Ignored

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38078
    John RoodJohn Rood
    Participant

    Please let me know if this needs to be moved to the MB Front End Submit forums.

    We have a front-end registration form that pulls in a few extra Meta Boxes that we created in the builder.

    There are about 14 extra required fields that get submitted alongside the form that are crucial to the registration process. However, all of these can be ignored if the user simply enters a username, email, and valid password.

    Here's a screenshot of the form without any of the required info.

    As you can see, the form submits when it shouldn't.

    All of the required fields are ignored, unless one is touched and then unset. Then the validation will fail as expected.

    How can we make it so all of these fields are truly required to submit the form?

    #38091
    Long NguyenLong Nguyen
    Moderator

    Hi John,

    I'm not able to reproduce that issue on my end, screen record https://monosnap.com/file/piIbohRNmeDTHga5OGxhRpsFLyzZ1a

    The required field is working correctly if the field is empty.

    #38112
    John RoodJohn Rood
    Participant

    I have a screen recording of what I'm experiencing. Could it be because I have multiple metaboxes?

    I am using custom code to modify the default fields. Could it be anything related to this.

    #38113
    John RoodJohn Rood
    Participant

    I have just tested with the pastebin code I shared previously disabled. The issue still persists.

    The only other thing I can think of is maybe it has something to do with the way I am using the shortcode?

    Here's how I'm adding the form:
    [mb_user_profile_register password_strength='medium' role="pending_dealer" id="default-fields, dealership-user-details,dealer-contact-information,dealer-consent" confirmation="We have received your account information and your account is currently pending. In the meantime, you may log in to your account to modify your profile details. Once your account is approved, you will receive a message with further instructions." ]

    The default-fields box is added via the pastebin code I shared earlier. The rest are added with the builder, but I just double checked and all of those are set to required within the builder.

    #38130
    Long NguyenLong Nguyen
    Moderator

    Hi,

    There is no issue after implementing your code and shortcode on my local site, screen record https://monosnap.com/file/V5lUd9Luv8WsWAy1Y0pdV65rUqeLLP

    Can you please test this issue again with a fresh install of WordPress, Meta Box and no other plugins?

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