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?

2

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

  • 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 Aug 18 '17 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. – Janaka Dombawela Aug 19 '17 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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