Value attribute for date/time controls
Use the Value attribute to enter a date and time in a date/time control, if the following is true:
- You know all of the required components in the control.
If you specify an incomplete date and time in the Value attribute, the missing date components are represented with a single dash (-) and are treated as not entered in the InForm application.
- You do not need to distinguish between components that are not entered and that are entered as Unknown.
If you do not know all of the required components, or need to distinguish between components that are not entered and those that are entered as Unknown, use the pf:FormattedDateValue attribute instead of the Value attribute. For more information, see pf:FormattedDateValue.
The value that you enter for a date/time control must conform to the:
- MedML attributes for the control.
- ISO 8601 standard.
For example, to specify the value October 21, 2011 at 12:44, use the following:
<ItemData ItemOID="frmA.sctB.itmC.dtcDateD" Value="2011-10-21T12:44" />