jqBootstrapValidation
jqBootstrapValidation copied to clipboard
Ability to change <form novalidate> to another HTML element
Hey there! Great validation plugin. I am using it for a State University, we are implementing animation to the field side errors and making the accessibility aspect conform more to the Web Aim standards. Once we deploy I would be happy to share with you what we did.
I do have a question... we are currently using a CMS known as Ektron. This CMS wraps ALL content in a form tag. Since your plugin requires the form tag with the data attribute "novalidate", I am worried this is going to cause issues, plus I don't want to nest form tags.
I was curious what modifications I need to make in order to change the parent form tag to anything of my choice? For instance a div tag
I attempted to hack this, but couldn't figure it out. Any help would be appreciated, I understand if this is outside of the support your are willing to give. Thanks.
Matt King
The plugin requires that the controls are in a form tag as it binds to the submit events, however you should be able to use it without the novalidate attribute in most cases.