dateField

Description: A date input with the corresponding label. In rich mode includes a pop-up calendar selection window.

JavaDoc: Click here

Remarks: The id will map to an existent stage parameter if it exists.
This will cause it's value to be initialized and submitted to this parameter. All validation as defined in the parameter will be applied to the submitted value.

Date format must be entered in the format: "dd/mm/yy". For now this is not customizable.

Body content: Empty. All enclosed content will be ignored.

Attributes:

Name Description Data type Required Default value
id The id for the generated HTML input String Yes -
dataSourceAttribute The corresponding data source field id for editable detailsForms. String No The value of the id parameter
label The label for the input String No A message with the id identical to the given tag id, or, if non-existent, the camel-cased interpretation of the id
labelCSSClass A CSS class to apply to the HTML label tag String No -
noTabIndex If we want to omit the tab index attribute Boolean No False
readonly If this component should be readonly Boolean No False
tip A tip for the current field. String No The date format to use
helpID The id of the existing help item to use as help for this field. String No -
groupLabel Label text format and spacing normalization String No False

Examples:

<dif:document>
   <dif:form>
       <dif:dateField id="registrationDate" label="Registration Date" />
   </dif:form/>
   ...
</dif:document>

Screenshots:

Date Field sample

See also:

Back to tag reference