• Error messages like “The number must be below 100” or “Must be a valid email address” are not dynamic. They appear on page load (when all fields are blank), and do not disappear when the field should validate.

    Turning field validation in the form options on or off doesn’t appear to make a difference.

    Also, these validation rules were set up in Google Forms, not in the plugin.

    I have done a “display:none;” solution for the error message div, but I would like to see if there is a better solution to make the error messages act like they should.

    https://www.ads-software.com/plugins/wpgform/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    When you use the validation built in to Google Forms (which wasn’t available when I initially implemented validation in the plugin), Google uses Javascript to hide and display the error messages – they are always there, just not visible in the native implementation.

    The best solution is to use the validation within the plugin and not the validation available when defining the form. I don’t know of a way to incorporate the dynamic CSS through the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Error messages are not dynamic’ is closed to new replies.