Validation Conditions Reference

There are several out-of-the-box validation conditions that can be used to validate form responses before they are submitted.

Text Field Validation Conditions

ConditionDescription
ContainsThis condition checks against a specified value permitted; if the entry contains this value, then validation fails.
Does not ContainThis is the opposite of “Contains”; if an entry does not contain the value, validation fails.
Is not URLThis condition ensures URLs are valid.
Is not EmailThis condition ensures email addresses are valid.
Does not MatchThis condition ensures regular expressions are valid; for example, this RegEx expression ^[0-9]{10}$ ensures that ten consecutive numeric digits must be entered.

Numeric Field Validation Conditions

ConditionDescription
Is greater than or equal toThis condition checks whether the value is greater than or equal to the specified value.
Is greater thanThis condition checks whether the value is greater than the specified value.
Is not equal toThis condition checks whether the value is equal to the specified value.
Is less than or equal toThis condition checks whether the value is less than or equal to the specified value.
Is less thanThis condition checks whether the value is less than the specified value.

Capabilities

Product

Contact Us

Connect

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