Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • George Phillipson 108 posts 287 karma points
    Jun 11, 2021 @ 10:39
    George Phillipson
    0

    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

    enter image description here

  • shekhar sharma 22 posts 110 karma points
    Jun 11, 2021 @ 10:46
    shekhar sharma
    0

    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

  • George Phillipson 108 posts 287 karma points
    Jun 11, 2021 @ 11:09
    George Phillipson
    0

    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

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft