Hello
Tell us what you are trying to do?
I have a form for user registration, after a user register he is redirected to a profile modification (form with field adress wich is required) i want user fill this field to continue navigation on the site.
My problem the user can click in another menu items and bypass validation of this field, i want to keep him in the frm profile unless he fill the field adress and click submit
Hello, normally the Form will not submit until something is added in a required field. I tested this on my local test site and I am not able to submit an Edit User Form with an empty required address field. Does this problem occur when you have a default theme like Twenty Twenty One active and no other plugins but Types, Blocks/Views, and Forms? If so, I may need to test this to see the problem on your site.
Also, are your Toolset plugins up-to-date? You can go to wp-admin > Plugins > Add new, click the Commercial tab, scroll down to the Toolset Installer and click "Check for Updates" to find the latest plugin versions available for automatic update.
"I tested this on my local test site and I am not able to submit an Edit User Form with an empty required address field"
this work fine , but if in the page with this form the user click on another meu item without validating the form (he baypass the form and continue without filling the fields)
what i want is that the user couldn't navigate in the site unless he fill the field and submit the form)
Oh, sorry I misunderstood the request. Thank you for the additional information. Unfortunately I do not have a solution available that prevents the User from leaving the page by clicking a menu item or navigation link before submitting the Form. That feature is not provided or supported in Forms, and would require custom JavaScript programming that falls outside the scope of our support forums.
You might find help for this in a public development collaboration site like Stack Overflow or Stack Exchange. You might look for something like one of these similar questions:
https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes
https://www.raymondcamden.com/2015/03/06/warning-a-user-before-they-leave-a-form
If you want an alternative solution that does not require additional custom code, you could use Toolset's conditional blocks feature in other areas of your site to show or hide specific content from the User, depending on whether or not the User added an address to their profile. You can display messages like "You must complete your profile to see this information" instead of showing some content, if the current User's profile is incomplete. We have information about conditional blocks here: https://toolset.com/course-lesson/using-toolset-conditional-block/
Let me know if you have questions about that.