<cfoutput><cfparam name="SPECIAL_DAY" default="#DateFormat(now(), "mm/dd/yyyy")#"></cfoutput>
<center>
<td width=30%><!--- This form allows the user to toggle back and forth between weeks. --->
<cfform name="ChangeDate" method="POST" action="thisweek.cfm" onsubmit="doUpdate=0">
<cfoutput>
<input type="hidden" name="OldTargetDate" value="#TargetDate#">
<input type="hidden" name="hosp" value="#hosp#">
</cfoutput>
<input type =
<input type="Image" src="graphics/viewLastWeek.jpg" name="submitLweek" value="submit" alt="Last Week">
<!--- <input type="Submit" name="SubmitOption" value="View Last Week"> not working--->
<input type="Image" src="graphics/viewNextWeek.jpg" name="submitNweek" value="submit" alt="Next Week">
<!--- <input type="Submit" name="SubmitOption" value="View Next Week">not working--->
</cfform>
</td>
<td width=30%>
<cfform NAME="SPECIAL" method="POST" action="navigation\nav_week_chg2.cfm?#Dateformat(SPECIAL_DAY, "mm/dd/yyyy")#" onsubmit="doUpdate=0">
<cfoutput>
<!--- if this is a cfinput type field it doesn't allow users to insert even a valid date, if only an input field, allows users
to write incorrect date. --->
<input type="hidden" name="OldTargetDate" value="#TargetDate#" validate="date" message="Please provide a valid date format mm/dd/yyyy.">
<input type="hidden" name="hosp" value="#hosp#">
</cfoutput>
<!--- <cfinput type="text" name="SPECIAL_DAY" size="12" required="yes" validate="date" message="Enter Date as mm/dd/yy">
--->
Use calendar icon to select date.<br />
<cfinput type="Text" maxlength="10" size="10" name="SPECIAL_DAY" required="yes" validate="date" message="Please provide a valid date format mm/dd/yyyy.">
<a href="java script:show_calendar('SPECIAL.SPECIAL_DAY');">
<img src="graphics/show-calendar.gif" width="24" height="22" border="0"></a>
<!--- <input type="Submit" name="SpecialOption" value="Select Day"> --->
<input type="Image" src="graphics/select.jpg" name="submitDate" value="submit" alt="Select Date"> <!--- --->
<!--- <td> ---><!--- <span style="color:red;font-weight:bold">*</span>Select Date:<br /> --->
<!--- </td> --->
</cfform>
Mod Edit: Please use code tags when posting your code. Code tags are used like so =>
Thanks,
PsychoCoder

New Topic/Question
Reply



MultiQuote





|