jqBootstrapValidation
jqBootstrapValidation copied to clipboard
Documentation example is missing some details
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>tagcontrol-groupclass must be usedcontrolsclass must be used
It would be worth adding this to the "It turns this" example
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
- 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.
Yes, the entire form would be helpful.