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?
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.
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." ]
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.
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?