I have a question or an issue.
I would like to cancel a submit from muy submit-next button. The event starts from this input:
<input type=submit name=ClickedButton value='Siguiente>>' class='nextButton'>
And I would like to append something like onClick="checkPrec();" on this input.
I have read thatI have to add on the <form> tag somthing like this:
<form name="form" id="form" method='post' onSubmit="return checkPrec();">
But I really need to do it from the button OnClick event.
Du you have any idea how to make that possible? Is that possible?
Thank you in advance.