I would like to trigger the validation of a form, from another button, different than the form’s default button. In this case a lightbox one.
there’s a form and it’s button “Submit”, then there’s a “Normal Button” to which i want to attach the same validation “behaviour” of the form’s “Submit” button.
i want to validate the form clicking the second button then if validates, it will go to a location.
how can i implement
to this button?