Support » Plugin: HTML Forms » Add ‘novalidate’ attribute

  • Resolved aisforadam



    What is the best way to add the ‘novalidate’ attribute to the <form> tag?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Lap



    You want to do your own validation?
    You can add the novalidate attribute via javascript, here is a jquery example:

    jQuery(‘.hf-form’).attr(‘novalidate’, ‘novalidate’);

    Hope that helps. If you have any questions, please let us know!

    Plugin Contributor Lap


    If you want to add your own custom validation you may want to look at this:

    Hey Lap. Thanks for the info! I was hoping to do this without js, but I’ll probably go with the jQuery.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add ‘novalidate’ attribute’ is closed to new replies.