Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on the HTML Form

Status
Not open for further replies.

sabavno

Programmer
Jul 25, 2002
381
CA
Hi,

Here is the line that I am looking for an advise on:


<FORM NAME=myForm ACTION=&quot;RequestQuery.asp&quot; METHOD=&quot;post&quot; onSubmit=&quot;return VerifyData()&quot;>


Could I use variable instead of &quot;RequestQuery.asp&quot;. The value of my variable will depend on what VerifyData() returns.

I mean, I need to be able to go to different pages depending on my data validation results.

Please advise.

Thanks.

 
just do this in the function
document.myform.action = &quot;&quot;
based on the conditions you have set. A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top