Please enable JavaScript to view this site.

Navigation: Using PHPRunner > Page Designer > "Edit as" settings

Date

Scroll Prev Next More

 

The Date is a date edit control. The regional date appearance can be selected in the Date dropdown.

edit_as_date

Date edit control options:

Appearance. You can choose between Simple edit box and Dropdown boxes styles of the Date field. Select the Calendar control checkbox to enable a calendar popup for picking a date.

Note: a Simple edit box allows entering time as well as the date. Select the Edit date with time checkbox to do so.

Year. Limit the range of years to choose from with the From and To fields. The Apply to all dates option applies the selected limit to every Date field in the app.

Weekdays. This option allows limiting the weekdays, that the user can choose in the Date control. To select the allowed days in the popup, press the ... button. The Message field allows showing a custom message when the user picks a disallowed day.

edit_as_date_weekdays

 

Note: you can also allow certain days, or limit the allowed date intervals with the Date API.

Examples

1. A simple edit box style Date field with a Calendar control (inline mode):

edit_as_simple_datepicker

 

2. A dropdown boxes style required Date field with a Calendar control:

edit_as_dropdown_datepicker

 

3. A dropdown boxes style Date field with a Calendar control, limited to weekdays only.

edit_as_date_weekdays_ex

 See also:

About Date Control API

"Edit as" settings

About Page Designer

About Editor

Handling datetime values in web applications

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software