Showing/Hiding the Default Text of DateInput Widget
A DateInput Widget is a Generic Widget for selecting a date.
Generic Widgets can be used independently of records and other CRM-specific data (e.g. field schema or entries in the designer database). The visualization of these widgets in the designer preview is identical to the visualization on the web user interface, which makes them easy to configure and customize.
The following example describes how to show or hide the default text of a DataInput Widget,
based on the web configuration parameter DateInput.showDefaultText, Designer
Form settings, and Field Group settings. The default text for the DateInput Widget is displayed
in the format (date format string).
When the web configuration parameter DateInput.showDefaultText is set to
true:
- Using Designer Form settings:
- If the DateInput widget in the designer form has the property
showDefaultTextis set totrue, then the default text for the widget is displayed. If the property is set tofalsethen the property is not displayed. - If the designer form does not have the property
showDefaultText, then the default text for the widget is displayed.
- If the DateInput widget in the designer form has the property
- Using Field Group settings:
- If the field group has the extended option
showDefaultTextset totrue, then the default text for the widget is displayed, else if the extended option is set tofalsethe default text is not displayed. - If the field group does not have the extended option
showDefaultText, then the default text for the widget is displayed.
- If the field group has the extended option
When the web configuration parameter DateInput.showDefaultText is set to
false:
- Using Designer Form settings:
- If the DateInput widget in the designer form has the property
showDefaultTextset totrue, then the default text for the widget is displayed. If the property is set tofalsethen the property is not displayed. - If the designer form does not have the property
showDefaultText, then the default text for the widget is not displayed.
- If the DateInput widget in the designer form has the property
- Using Field Group settings:
- If the field group has the extended option
showDefaultTextset totrue, then the default text for the widget is displayed, else if the extended option is set tofalsethe default text is not displayed. - If the field group does not have the extended option
showDefaultText, then the default text for the widget is displayed.
- If the field group has the extended option