I have the following form which accepts
- an email adress &
- city
=======================================================
<form method="post" ID="Form2">
<TABLE id="Table1" cellSpacing="0" cellPadding="4" width="100%" border="0">
<TR>
<TD valign="top">
<%if isBlankError then Response.Write "<font color=red><b>You have not filled all the required fields! </b></font>"
end if%>
<table border="0" cellspacing="0" cellpadding="5"align="center" ID="Table5">
<TR>
<TD width=150 valign="top" class="bold">Your Email Address:</TD>
<TD width="311"> <INPUT id="Text5" value="<%=email%>" type="text" size="25" name="email">
<FONT color="#660000"> *</FONT> </TD>
<TD><%=emailAddressErrorHTML%></TD>
</TR>
<TR>
<TD width=150 valign="top" class="bold"> City:</td>
<TD>
<SELECT id="Select2" size="1" name="ct" style="width:150; font-size: 10px"><OPTION value="">Any</OPTION>
<%=getDropdownCity()%>
</SELECT> <FONT color="#660000"></FONT>
</TD>
</TR>
</table>
<INPUT id="Reset1" type="reset" value="Reset" name="reset">
<INPUT id="Submit1" type="submit" value="Submit" name="submit">
</TD>
</TR>
</TABLE>
</form>
======================================================
When i press the <submit> button after choosing a
a city from the dropdown function 'getDropdownCity'
the form gives an error saying I havn't entered an
email address. This is expected. But my chosen city
is replaced by 'Any'.
What I need is for my chosen city from the dropdown to
be preserved. I'll only have to enter my email address.
Can anybody help.
Thanks
- an email adress &
- city
=======================================================
<form method="post" ID="Form2">
<TABLE id="Table1" cellSpacing="0" cellPadding="4" width="100%" border="0">
<TR>
<TD valign="top">
<%if isBlankError then Response.Write "<font color=red><b>You have not filled all the required fields! </b></font>"
end if%>
<table border="0" cellspacing="0" cellpadding="5"align="center" ID="Table5">
<TR>
<TD width=150 valign="top" class="bold">Your Email Address:</TD>
<TD width="311"> <INPUT id="Text5" value="<%=email%>" type="text" size="25" name="email">
<FONT color="#660000"> *</FONT> </TD>
<TD><%=emailAddressErrorHTML%></TD>
</TR>
<TR>
<TD width=150 valign="top" class="bold"> City:</td>
<TD>
<SELECT id="Select2" size="1" name="ct" style="width:150; font-size: 10px"><OPTION value="">Any</OPTION>
<%=getDropdownCity()%>
</SELECT> <FONT color="#660000"></FONT>
</TD>
</TR>
</table>
<INPUT id="Reset1" type="reset" value="Reset" name="reset">
<INPUT id="Submit1" type="submit" value="Submit" name="submit">
</TD>
</TR>
</TABLE>
</form>
======================================================
When i press the <submit> button after choosing a
a city from the dropdown function 'getDropdownCity'
the form gives an error saying I havn't entered an
email address. This is expected. But my chosen city
is replaced by 'Any'.
What I need is for my chosen city from the dropdown to
be preserved. I'll only have to enter my email address.
Can anybody help.
Thanks