0

I have installed webform and client side validation extensions on my drupal project. The problem is in the webform's form element novalidate attribute is appearing, which cancels the client side validation.

form html

In webform general settings I have unchecked the disable client side validation:

Webform general settings

And finally in my form settings I have unchecked the disable client side validation:

Form settings

Cleared cache but the novalidate attribute is still showing. Is there any way to remove this attribute from the form?

1 Answer 1

2

The Clientside Validation module is automatically adding the novalidate attribute to the form.

2
  • Yeah, that's how it works (stops browser validation from getting involved) - the question is really why would you want to remove it @Janaka?
    – Clive
    Commented Aug 18, 2017 at 14:24
  • 1
    Well I suspected that it removes the client side validation plugin functionality. Because it is not working with webforms, with ajax or not. Commented Aug 19, 2017 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.