jqBootstrapValidation icon indicating copy to clipboard operation
jqBootstrapValidation copied to clipboard

Documentation example is missing some details

Open asgeo1 opened this issue 12 years ago • 2 comments

The documentation, particularly the "It turns this" example on http://reactiveraven.github.com/jqBootstrapValidation does not indicate what HTML tags and attributes need to be in place before this plugin will work.

I found out (after having to examine the source code in detail) that the following is required for the plugin to work:

  • novalidate="novalidate" on the <form> tag
  • control-group class must be used
  • controls class must be used

It would be worth adding this to the "It turns this" example

asgeo1 avatar Jan 04 '13 03:01 asgeo1

Thanks for the note Adam, sorry for the confusion. I'm in the process of rewriting the docs to make things clearer.

The idea of the "it turns this" is just to quickly show the pertinent bits.

I'm loathe to put the entire form in the left section as its a bit overfacing, but at the same time I'd rather not confuse people.

Do you have any ideas of how this could be handled better? Would the entire form be more use in the left box? On 4 Jan 2013 03:07, "Adam George" [email protected] wrote:

The documentation, particularly the "It turns this" example on http://reactiveraven.github.com/jqBootstrapValidation does not indicate what HTML tags and attributes need to be in place before this plugin will work.

I found out (after having to examine the source code in detail) that the following is required for the plugin to work:

  • novalidate="novalidate" on the
    tag
  • control-group class must be used
  • controls class must be used

It would be worth adding this to the "It turns this" example

— Reply to this email directly or view it on GitHubhttps://github.com/ReactiveRaven/jqBootstrapValidation/issues/45.

ReactiveRaven avatar Jan 04 '13 09:01 ReactiveRaven

Yes, the entire form would be helpful.

sethburtonhall avatar Mar 12 '13 16:03 sethburtonhall