Configure Date Picker

The Date Picker server behavior allows the web developers to include a date picker text field in their site pages. Before applying it, there must be a text field added in the Dreamweaver page.

This server behavior is accessible from the Application panel, Server Behaviors -> + -> MX Kollection -> Form Controls -> Date Picker.

The user interface has only one tab. Directions about its correct configuration are given below.

 

To set the dialog box options, follow the next steps:

  1. In the Apply to field drop-down menu select the text field on which to apply the server behavior.

  2. In the Date type drop-down menu select one of the two options:
    · Date - if you want displayed on the date (day, month, year).
    · Datetime - if you want displayed the date and the time (day, month, year, hour, minute, second, am/pm).
  3. The Date format used in your site is displayed in bold text. You can change it by clicking on the button next to it, Change. For more details, read Date formats.
    Note:
    If the entered information is to be inserted in your database, select the date format that is compatible with the table field that stores the date-type data.
  4. The Monday first day of the week checkbox makes Monday appear as the first day of the week in the calendar. If unchecked, Sunday will appear as the first day.
  5. The Single click activation checkbox will insert the clicked calendar date in the text box and then close the calendar. If unchecked, the calendar will be closed by the user (either by clicking the "x" icon, or by clicking somewhere else in the page).
  6. The Allow keyboard input checkbox allows you to manually enter the date in the text field, and not only select it from the calendar.
  7. The Restrict to mask checkbox limits the number of characters typed to the mask length.
  8. In the Default value text box enter a starting value for the date picker text field. You can also select it from one of the available recordsets in your page by using the lightning icon on the right.
  9. The three buttons on the right of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without applying the new settings.
    · The Help button opens this help page.