ColdFusion - Put a flash format calendar in a form

cfcalendar - put an interactive flash format calendar in a form

cfcalendar.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfcalendar tag example: how to put an interactive flash format calendar in a form</title>
</head>

<body>
<h2 style="color:Crimson">cfcalendar Tag Example</h2>

<cfif IsDefined("Form.SubmitDate")>
 <cfoutput>
     <cfif Form.ArraivalDate LTE Now()>
         Select a date after: <b>#DateFormat(Now())#</b>
  <cfelse>
   Your Arraival Date Is: <b>#DateFormat(Form.ArraivalDate)#</b>
        </cfif>
    </cfoutput>
</cfif>
<br /><br />

<cfform name="TestForm" format="flash" action="" height="350" width="400" skin="halogreen">
 <cfcalendar name="ArraivalDate" required="yes">
    <cfinput type="submit" name="SubmitDate" value="Submit Arrival Date">
</cfform>

</body>
</html>





More ColdFusion examples