Hi guys,
Can you please help if at all possible
This is the one I want to keep:
<form method=post action="search.php" >
<?=$StateMenu."<BR>"?>
</form>
And this is the other manual submit php doc
<form method=POST action="search.php" name=s1 onsubmit="return CheckSearch();">
<tr>
<td><b>State:</b></td>
<td colspan=2><?=$StateMenu?></td>
</tr>
<tr>
<td>Listings:</td>
<td colspan=2>
<select name=HowOld>
<option value="">All</option>
<option value="1 day">1 day old</option>
<option value="1 week">1 week old</option>
<option value="1 month">1 month old</option>
</select>
</td>
</tr>
<tr>
<td colspan=3> </td>
<td colspan=3><input type="submit" name="s1" value="Submit"
src="myimages/button_search.gif"></td>
</tr>
</form>[/COLOR]
I have a check that won't allow a submit of (HowOld) without selecting a state first. I do have the same state menu on the same page ( on different form first code above) with onload function that updates ether one of the state menus upon the selection of the other.
I want to make this one (with the manual submit) invisible but still keep the check on submit for the state. Because the other state menu is still available and I decided don't need one here. How do I do that . :bemused:
Thank you so much for your time. 🙂