pui.showCalendar( object or id )



This API automatically displays the calendar attached to a date field.

Parameters:

  • object or id – reference to a date field or the id of a date field

Example:

The following can be attached to the onclick event of a button:

pui.showCalendar("Date1");