I'm using bootstrap form validation, and i want to validate my form using a button that is not inside the form tags.
The reasons i want to do that are:
I don't want to redirect the user to other page or reload the current page, after submiting the form.
I want to call to an ajax call that register a user and return an answer (fail/success).
How can I call the validate form mechanism and getting true or false in order to know if I can redirect to the ajax call.
Thank you.