cfcalendar

Overview ColdFusion Open BlueDragon Lucee

Puts an interactive Macromedia Flash format calendar in an HTML or Flash form. Not supported in XML format forms. The calendar lets a user select a date for submission as a form variable.

Attributes

Name Required Type Default Description
daynames No String S,M,T,W,Th,F,S A comma-delimited list that sets the names of the weekdays displayed in the calendar. Sunday is the first day and the rest of the weekday names follow in the normal order. Default is: S,M,T,W,Th,F,S
disabled No Boolean Disables all user input, making the control read only. To disable input, specify disabled without an attribute or disabled="true". To enable input, omit the attribute or specify disabled="false". Default is: false
enabled No Boolean true Flash only: Specifying whether the control is enabled. A disabled control appears in light gray. This is the inverse of the disabled attribute.
endrange No String The end of a range of dates that are disabled. Users cannot select dates from the date specified by the startRange attribute through this date.
firstdayofweek No Numeric 0 Integer in the range 0-6 specifying the first day of the week in the calendar, 0 indicates Sunday, 6 indicates Saturday. Default is: 0
height No Numeric The vertical dimension of the calendar specified in pixels.
mask No String MM/DD/YYYY A pattern that specifies the format of the submitted date. Mask characters are: - D = day, can use 0-2 mask characters - M = month, can use 0-4 mask characters - Y = year, can use 0, 2, or 4 characters - E = day in week, can use 0-4 characters - Any other character = put the character in the specified location Default is: MM/DD/YYYY
monthnames No String January,February,March,April,May,June,July,August,September,October,November,December A comma-delimited list of the month names that are displayed at the top of the calendar.
name Yes String The name of the calendar.
8
onblur No String Flash only: ActionScript that runs when the user selects a date.
onchange No String Flash only: ActionScript that runs when the user selects a date.
8
onfocus No String Flash only: ActionScript that runs when the user selects a date.
selecteddate No String The date that is initially selected. It is highlighted in a color determined by the form skin. Must be in mm/dd/yyyy or dd/mm/yyyy format, depending on the current locale. (Use the setlocale tag to set the locale, if necessary.)
startrange No String The start of a range of dates that are disabled. Users cannot select dates from this date through the date specified by the endRange attribute.
style No String Flash only: Actionscript style or styles to apply to the calendar. Default is: haloGreen
tooltip No String Flash only: Text to display when the mouse pointer hovers over the control.
visible No Boolean true Flash only: Specifying whether to show the control. Space that would be occupied by an invisible control is blank.
width No Numeric The horizontal dimension of the calendar specified in pixels.