Umbraco 8 forms client side validation not working
Hi
I have not used Umbraco forms for a long time and now need to add it to a project.
I'm using Umbraco version 8.14.0 and Umbraco Forms: 8.7.3
The problem is client validation is not working on my fields but it is working on the built-in dataConsent.
As you can see, in the back office 'youname' and 'youremail' are required, but on the frontend there is no * on my fields and I can submit the form without entering the required information once I tick dataConsent.
Can you please check the all JS/ FE script References , When you submit the Form from the Site( Inspect Element). It seems your Custom JS reference blocking/Overriding the Forms Validation .
Umbraco 8 forms client side validation not working
Hi
I have not used Umbraco forms for a long time and now need to add it to a project.
I'm using Umbraco version 8.14.0 and Umbraco Forms: 8.7.3
The problem is client validation is not working on my fields but it is working on the built-in dataConsent.
As you can see, in the back office 'youname' and 'youremail' are required, but on the frontend there is no * on my fields and I can submit the form without entering the required information once I tick dataConsent.
Has anything changed that I now need to do?
Any help would be appreciated
Hello George Philloipson,
Can you please check the all JS/ FE script References , When you submit the Form from the Site( Inspect Element). It seems your Custom JS reference blocking/Overriding the Forms Validation .
Thanks,
Shekhar
Hi Shekhar
I have just created a vanilla .NET form with and client validation works OK with that, I have no custom JS scripts that would affect the validation
You can see vanilla form validation works
Regards
George
is working on a reply...