<input type="text"> control.
Binding to a Process Variable
To bind the input field to a JavaDate variable, the directive
cam-variable-type="Date" must be used.
Example:
Date Format
Currently only the ISO Date Formatyyyy-MM-dd'T'HH:mm:ss is supported.
Example value: 2013-01-23T13:42:42
Using a Date Picker
The Form SDK itself does not provide any custom components or widgets. As such it also does not provide a date picker. However, you can integrate third party libraries providing such widgets or write one yourself (see Custom JavaScript).Inside ASEE Flow Tasklist, datepicker support is provided through Angular UI.
uib-datepicker-popup="yyyy-MM-dd'T'HH:mm:ss": This attribute sets the format of the date which is returned by the datepicker. It must be the ISO Date Format.is-open="dateFieldOpened": This attribute contains the name of the variable, which indicates the open status of the datepicker. It must be the same variable, which is set to true in theopenfunction in the JavaScript snippet. If a form contains multiple datepickers, they must have different values for this attribute.
ng-click="open($event)": This attribute contains the name of the function which is called when the datepicker button is clicked. It must be the function name of the JavaScript snippet which sets theis-openvariable to true. If a form contains multiple date pickers, they must have different function names, or the name of theis-openvariable must be passed to the function.