isValid

Overview ColdFusion Open BlueDragon Lucee

Tests whether a value meets a validation or data type rule.

Attributes

Name Required Type Default Description
max Yes Numeric The maximum valid value; used only for range validation.
min Yes Numeric The minimum valid value; used only for range validation.
min_or_pattern No
pattern Yes String A regular expression that the parameter must match; used only for regex or regular_expression validation.
type Yes String The valid format for the data.
value Yes Object The value to test.