Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleftToggleOffDateTime y2.2k bug

The off/on toggle actually submits a date 200years into the future. We're doing this currently as we've been having trouble working out the difference between an empty date and a date that has been toggled on/off. Any ideas? Call us on 555-y22k

 Information Information about the JS Calendar control, named 'The Coolest DHTML Calendar', can be viewed here.   

Code Block
titleSample Usage ./plugins/farcrycms/packages/types/dmEvent.cfc
<cfproperty
  ftseq="2" ftfieldset="Event Overview" ftwizardStep="General Details"
  name="startDate"
  type="date"
  hint="The start date of the event"
  required="no"
  default=""
  ftDefaultType="Evaluate"
  ftDefault="now()"
  ftType="datetime"
  ftDateFormatMask="dd mmm yyyy"
  ftTimeFormatMask="hh:mm tt"
  ftToggleOffDateTime="false"
  ftlabel="Start Date" />
<cfproperty
  ftseq="3" ftfieldset="Event Overview" ftwizardStep="General Details"
  name="endDate"
  type="date"
  hint="The end date of the event"
  required="no"
  default=""
  ftDefaultType="Evaluate"
  ftDefault="DateAdd('d', 5, now())"
  ftType="datetime"
  ftDateFormatMask="dd mmm yyyy"
  ftTimeFormatMask="hh:mm tt"
  ftToggleOffDateTime="false"
  ftlabel="End Date" />