Placeholder text in AEM Forms
The placeholder text represents a word or short phrase. It is intended to aid the user with data entry when the control has no value. A placeholder text could be a sample value or a brief description of the expected format. The placeholder text is shown before the user enters a value, it is removed when the user enters or selects a value.
The placeholder text, if specified, must have a value that contains no new line characters.
A. Date component with placeholder text B. Date component without placeholder text
AEM Forms support placeholder text for Password box, Date picker, Numeric box, and text box fields. Placeholder texts are not supported for the native HTML5 date widget. To specify a Placeholder text:
- Right-click a component which supports Placeholder Text and click Edit . The Edit component dialog box appears.
- Open the Title and text tab.
- Specify a word or a short phrase in the Placeholder text box . Click OK .
Placeholder text is not supported on Microsoft Internet Explorer 9.