-
Help with Dropdowns
Hi,
I have a simple date range drop down menu that lets the user select beginning month date and year and ending month day and year, but i need to restrict the beginning date to stop at current date. I also need the drop downs to display the selected values once the user clicks the submit button, does anyone have an idea on how to fix this? thank you
this is the code i have for the drop down range:
<form id="selectdate" name="selectdate" method="get" action="">
<label>Start Date
<select name="fmonth" name="fmonth" style="width: 50px;">
<option value="1">1</option>
<option value="2">2</option>
</select>
</label>
<select name="fday" style="width: 50px;">
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
</select>
<select name="fyear" style="width: 70px;">
<option>2003</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
</select>
<label>End Date
<select name="lmonth" style="width: 50px;">
<option>01</option>
<option>02</option>
</select>
</label>
<select name="lday" style="width: 50px;">
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
</select>
<select name="lyear" style="width: 70px;">
<option>2003</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
</select>
<label>
<input type="submit" name="Submit" value="Go" />
</label>
</form>
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks