I need in to post a variable EXPDATE (in the format "mmyyyy") that is composed out of two variables captured through a SELECT/OPTION tags. One is for the month and the other one for the year.
Your help wil be appreciated!
This is my code that goes inside my Form:
<select name="Month">
<OPTION value="" selected>Month</OPTION>
<OPTION value="1">Jan</OPTION>
<OPTION value="2">Feb</OPTION>
...
<OPTION value="11">Nov</OPTION>
<OPTION value="12">Dec</OPTION>
</SELECT>
/
<select name="Year">
<OPTION value="" selected>Year</OPTION>
<OPTION value="<%response.write(Year(date()))%>">="<%response.write(Year(date()))%></OPTION>
<OPTION value="<%response.write(Year(date())+1)%>"><%response.write(Year(date())+1)%></OPTION>
<OPTION value="<%response.write(Year(date())+2)%>"><%response.write(Year(date())+2)%></OPTION>
<OPTION value="<%response.write(Year(date())+3)%>"><%response.write(Year(date())+3)%></OPTION>
</SELECT>
<%
xExpdate = MonthYear '----This doesn't sound right(?)
%>
<input type="hidden" name="EXPDATE" value="<%response.write(xExpdate)%>">
Your help wil be appreciated!
This is my code that goes inside my Form:
<select name="Month">
<OPTION value="" selected>Month</OPTION>
<OPTION value="1">Jan</OPTION>
<OPTION value="2">Feb</OPTION>
...
<OPTION value="11">Nov</OPTION>
<OPTION value="12">Dec</OPTION>
</SELECT>
/
<select name="Year">
<OPTION value="" selected>Year</OPTION>
<OPTION value="<%response.write(Year(date()))%>">="<%response.write(Year(date()))%></OPTION>
<OPTION value="<%response.write(Year(date())+1)%>"><%response.write(Year(date())+1)%></OPTION>
<OPTION value="<%response.write(Year(date())+2)%>"><%response.write(Year(date())+2)%></OPTION>
<OPTION value="<%response.write(Year(date())+3)%>"><%response.write(Year(date())+3)%></OPTION>
</SELECT>
<%
xExpdate = MonthYear '----This doesn't sound right(?)
%>
<input type="hidden" name="EXPDATE" value="<%response.write(xExpdate)%>">

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Back to top
- It plays, it streams, it kills WiMPs!!








