I have 2 buttons on a form.
One button is used to move to the next screen (hiding a div and show another) and the other button should be used to submit the form.
The second button should validate and submit the form.
For validation I'm using jQuery Validation Plugin with floating Qtyp to show float messages.
Currently the first button NEXT validates that the fields are not empty, then go to the next step, but the SEND button does nothing.
This is the code that I have, I watch it to understand the idea: FIDDLE
In summary:
Button NEXT: confirms that the fields are not empty then hide the tab1 and show tab2 (it already does).
Button SEND: confirms once again that the fields are not empty and then send the form to a page process.php (I do not know how to do this)
How could I? Please review the link to understand.
Greetings!