BoxLang 🚀 A New JVM Dynamic Language Learn More...

Datepicker

v2.0.6 CFWheels Plugins

DatePicker

Use a jQuery UI datePicker widget in your CFWheels forms

datePicker and datePickerTag functions accept the same arguments as CFWheels textField and textFieldTag functions respectively, but they also accept all options for the jQuery datePicker widget

Begin the DatePicker journey

  1. Install the DatePicker plugin
  2. Make sure you have setup jQuery AND jQuery UI in your app
  3. Use the datePicker() and datePickerTag() form helpers

Examples

<!--- Use with objects --->
#datePicker(label="Birthday", objectName="user", property="birthday")#

<!--- Use without objects --->
#datePickerTag(label="Birthday", name="birthday", value=Now())#

<!--- Use with jQuery datePicker options --->
#datePicker(label="Birthday", objectName="user", property="birthday", dateFormat="dd/mm/yy", goToCurrent=true, dayNames='["Sundy", "Mundy", "Tuesdy", "Wednesdy", "Thursdy", "Fridy", "Satdy"]')#
  •   Adam Chapman
  • Published
  • 2.0.6 is the latest of 4 release(s)
    Published
  • Published on {{ getFullDate("2017-05-15T06:58:07Z") }}

$ box install datepicker

No collaborators yet.
 
  • {{ getFullDate("2017-05-09T06:32:33Z") }}
  • {{ getFullDate("2017-05-15T06:58:07Z") }}
  • 3,093
  • 40