staticsystem11
06-11-2003, 04:32 PM
I have a main home web page/form that I have a drop down selector, it only has 2 options. Option 1, the submit will redirect itself to output page 1. On option 2 it will go to another web page for display, output page 2.
I had this script working at one time, but can't figure out why it wont work, I may have lost some piece of it . I am hoping some out there will be able to help me put this nifty piece of code back to working condition?
The main page has text field in it, that upon submit it would choose the outputpage based upon the what choice was made in the drop down selector box. No it is not capable of multiple selections as there are no more than 2 selections available.
However i lost a piece of this some how, and I really need to get this working again.
Heres the piece of code (snippet from web page)
<FORM ACTION="outputpage1.html" name="theForm" id="theForm" onSubmit="formSubmit()">
<SELECT NAME="formAction" size=1 style="" DISPLAY="Select your choice of Display Type">
<OPTION value="outputpage1.html" selected>outputpage1</OPTION><OPTION value="outputpage2.html">outputpage2</OPTION></SELECT>
Can anyone out there help me fix this code?
Thanx a ton in advance
:)
I had this script working at one time, but can't figure out why it wont work, I may have lost some piece of it . I am hoping some out there will be able to help me put this nifty piece of code back to working condition?
The main page has text field in it, that upon submit it would choose the outputpage based upon the what choice was made in the drop down selector box. No it is not capable of multiple selections as there are no more than 2 selections available.
However i lost a piece of this some how, and I really need to get this working again.
Heres the piece of code (snippet from web page)
<FORM ACTION="outputpage1.html" name="theForm" id="theForm" onSubmit="formSubmit()">
<SELECT NAME="formAction" size=1 style="" DISPLAY="Select your choice of Display Type">
<OPTION value="outputpage1.html" selected>outputpage1</OPTION><OPTION value="outputpage2.html">outputpage2</OPTION></SELECT>
Can anyone out there help me fix this code?
Thanx a ton in advance
:)