jqBootstrapValidation icon indicating copy to clipboard operation
jqBootstrapValidation copied to clipboard

Validation on a form wizard

Open longestdrive opened this issue 12 years ago • 4 comments

Hi I'm using this plugin but am struggling to work out how to get it to work with a form wizard. I'd like the validation to be carried out on a 'page' before the user goes to the next page. I was hoping to trigger the validation when the user clicks the 'next' button etc. However I can't see how to do this as this plug in only seems to trigger with a submit button of the form. Is there any way I can attach a buttons click event (or any other event) to trigger this validation but bit submit the whole form? Sorry - not very strong jquery skills! Ta

longestdrive avatar Aug 13 '13 17:08 longestdrive

Did you ever figure out an answer to this, as I'm looking to do the same thing.

Cheers

tanyac avatar Oct 22 '13 04:10 tanyac

I have the same question.

Cheers

daslicht avatar Nov 26 '13 21:11 daslicht

same question... any ideas?

netoec84 avatar Dec 15 '13 16:12 netoec84

at each step, i used this if ($("...").jqBootstrapValidation("hasErrors")) { alert("Something is wrong!"); } but after detection, I don't know how to show errors as validation.

prolfmartin avatar Feb 28 '14 10:02 prolfmartin