I have the name of the submit button from this tag:
<input type="Submit" name="nextpagebtn" value="Next Page">
I have the form name from this tag:
<FORM METHOD="POST" NAME="MainForm" onSubmit="return ValidateSurvey( document.MainForm );" ACTION="preview.asp">
my issue is that the above tags are generated by the system, hence i cannot alter them/add to them in any way, cause the system automattically throw the tag in, so if i add the tag, i now have two form tags.
I would like to check some values in the code [ yes i can add some html code and javascript] so i added a form [with out the form tag] and the system took the tble a placed it between the form tag, since the system add a submit button tag that i cannot alter... how can i check the value of variable a1a before the user clicks the button and alert/return false; so that the form does not submit?
Thanks - hope this made sense...
<input type="Submit" name="nextpagebtn" value="Next Page">
I have the form name from this tag:
<FORM METHOD="POST" NAME="MainForm" onSubmit="return ValidateSurvey( document.MainForm );" ACTION="preview.asp">
my issue is that the above tags are generated by the system, hence i cannot alter them/add to them in any way, cause the system automattically throw the tag in, so if i add the tag, i now have two form tags.
I would like to check some values in the code [ yes i can add some html code and javascript] so i added a form [with out the form tag] and the system took the tble a placed it between the form tag, since the system add a submit button tag that i cannot alter... how can i check the value of variable a1a before the user clicks the button and alert/return false; so that the form does not submit?
Thanks - hope this made sense...
