Selecting the property for a DateTime control

Select a property for the DateTime control to determine the dates and times that the application's users can select. Set related options to specify the label, default value, tooltip, and field visibility for the control.

  1. In the Property field on the General tab of the Properties panel, press the Down Arrow key to enter or select a property, the value of which the user selects at run time.
  2. Optional: To review an existing property, click the Open icon. If the property does not yet exist, the New dialog box is displayed and you can create the property.
  3. Select an action for the Label option:
    • To use the name of the property as the label for the control, select the Use property default check box.
    • To specify a label for the control, clear the Use property default check box and enter the label in the adjacent, unlabeled field.
  4. Optional: To speed data entry, specify a default in the Default value field.

    You can enter a constant value, property reference, or expression to be used when the user form or flow action form is displayed in read-write mode.

  5. In the Placeholder field, select one of the following settings to specify instructional text or hints with the calendar control:
    • None – Does not display placeholder text.
    • Expected Format – Displays the localized DateTime Format value selected in this control.
    • Other – Displays instructional text with the calendar control. Use the adjacent field to select existing, preset text or to enter a new instruction or hint.
  6. Optional: To describe the control's purpose to users at run time, enter a phrase in the Tooltip field or press the Down Arrow key to select an existing tooltip.
  7. Set the Visibility option to determine when the property value is displayed:
    • Select Always, If not blank, or Not zero to display the field or hide it, based on the property value at the time that this section or flow action is first presented or refreshed.
    • Select Condition (expression) to make the visibility dependent on an expression. In the field that is displayed, select a condition or click the Open condition builder icon to open the Condition Builder.
    • Select Condition (when rule) to make the visibility dependent on a when rule. Click the Open icon to create a new when condition or to review an existing one.
  8. Set the Disable option to specify when the control is not available to users.
    Specify a condition for disabling the text input:
    • Never – Never disabled
    • Always – Always disabled
    • Condition (expression) – The text input is disabled under the specified condition. In the field that is displayed, select a condition or click the Gear icon to open the Condition Builder . You can define a simple expression based on the comparison of a pair of constants, properties, or both, combined by Boolean operators, such as .Color="Red". You can combine the expression with a when condition rule or another expression by using the && and || operators.
    • Condition (when) – The text input is disabled under the specified condition. In the field that is displayed, select a when rule. Click the Open icon to create a when condition or review an existing when condition.
  9. Optional: To require that application users specify a value for this field to save the form, set the Required option. At run time, an orange asterisk indicates that the field is required.