Providing Help Text and Predefined Values

Form fields can be configured to have help text, placeholder text, and predefined values that assist users in understanding and filling out a form.

  • Help Text: Text that appears as a sub-heading to the field label, but does not appear in the field entry area. Enter help text in the Basic tab of the field’s sidebar menu.

  • Placeholder Text: Text in the field entry area that is not submitted if the field is left untouched by the user.

  • Predefined Value: Text in the field entry area that is submitted if the field is left untouched by the user.

All form field types can have help text, and all form field types that accept user input can have predefined values. Only text and numeric fields can have placeholder text.

Entering Help or Placeholder Texts

To enter placeholder text:

  1. Open a field’s sidebar menu.

  2. Click the Basic tab.

    Enter the placeholder text.

  3. Enter the following:

    • Placeholder Text: John Smith
    • Help Text: Enter your full name.
  4. Click Save Form when finished.

The form now has placeholder values.

Enter predefined values and placeholder text.

Entering a Predefined Value

  1. Click the Advanced tab.

  2. Enter the Predefined Value.

    Enter the predefined value.

  3. Click Save Form when finished.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy