gradinumcp
IS-IT--Management
Here's my code where the user picks a date and I want to use that value elsewhere. However I am unable to get the date value--any clues???
Iam using <%=gms("autonum")%>" with the PullDate becoz i have PullDate box multiple times on my page--so i need to uniquely identify it.
Here's the code:
<form method=POST name=Page1<%=gms("autonum")%>>
<table cellpadding=1 cellspacing=1 align=center border=0 width=80%>
<tr>
<td class=tabletd7><%=gms("Fullname")%>:</td>
<td class=tabletd7 colspan=2>Week: <input class=fields readonly name="PullDate<%=gms("autonum")%>" <% if request("PullDate")<>"" then %>value="<%=request("PullDate")%>"<% else %>value="<%=Date()%>"<% end if %>> <a href="javascript:show_calendar('Page1<%=gms("autonum")%>.PullDate<%=gms("autonum")%>');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=13 height=10 border=0></a>
<a href="TimeReport.asp?PullDate=<%=request("PullDate")%>&act5=View">View</a>
</tr>
</table>
</form>
The page that comes up shows up as
So basically it does not retrieve the PullDate value.
Any help???
Iam using <%=gms("autonum")%>" with the PullDate becoz i have PullDate box multiple times on my page--so i need to uniquely identify it.
Here's the code:
<form method=POST name=Page1<%=gms("autonum")%>>
<table cellpadding=1 cellspacing=1 align=center border=0 width=80%>
<tr>
<td class=tabletd7><%=gms("Fullname")%>:</td>
<td class=tabletd7 colspan=2>Week: <input class=fields readonly name="PullDate<%=gms("autonum")%>" <% if request("PullDate")<>"" then %>value="<%=request("PullDate")%>"<% else %>value="<%=Date()%>"<% end if %>> <a href="javascript:show_calendar('Page1<%=gms("autonum")%>.PullDate<%=gms("autonum")%>');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=13 height=10 border=0></a>
<a href="TimeReport.asp?PullDate=<%=request("PullDate")%>&act5=View">View</a>
</tr>
</table>
</form>
The page that comes up shows up as
So basically it does not retrieve the PullDate value.
Any help???