Using the Require Rule

Use a Require rule to make a field required based on one or more conditions. Require Rules work in association with other Rules, such as the Show Rule.

To demonstrate, assume the camp registration form includes these items:

  • I am 18 Years Old or Older: a required single selection field with two options: Yes and No.
  • Legal Guardian Email Address: a text field that accepts valid email addresses.
  • A Show Rule that displays the Legal Guardian Address field if the value for I am 18 Years Old or Older is NO.

If the respondent answers No, the Legal Guardian Email Address appears and the respondent must enter a valid email address.

Configuring the Require Rule

Follow the steps below:

  1. Click the Rules tab.

  2. Click Actions (Actions) next to the I am 18 Years Old or Older rule.

    Modify the existing Show-hide Rule.

  3. Click Edit.

  4. Click the Add Rule button under Actions.

  5. Select Require from the Action dropdown menu.

  6. Select the Legal Guardian Email Address from the second dropdown menu.

    Add the Require Rule.

  7. Click Save when finished.

Capabilities

Product

Contact Us

Connect

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