FoolProof.Core
EqualTo
NotEqualTo
GreaterThan
Date
Int16
Time
DateTime
LessThan
Date
Int16
Time
DateTime
GreaterThanOrEqualTo
Date
Int16
Time
DateTime
LessThanOrEqualTo
Date
Int16
Time
DateTime
In
Single Value
DateTime
Int16
NotIn
Single Value
DateTime
Int16
Predicate
Complex Predicate Validation
Model wise validation:
(
5
<=
FirstName.Length
<=
20
Or
10
<=
LastName.Length
<=
50
) && (
Email
Is Valid
) && (
Age
In Range
[5, 120]
) && (
Age
>
Years Of Study
)
First Name
Last Name
Email
Age
Years Of Study
Elementary School Completed
Valid if:
Value
Is False
OR
Year Of Study
>=
6
High School Completed
Valid if:
Value
Is False
OR
(
Elementary School
Is True
And
Year Of Study
>=
10
)
University degree
Valid if:
Value
Is False
OR
(
High School
Is True
And
Year Of Study
>=
14
)
Choose country
USA
Spain
Cuba
Country
Phone Number
Valid if:
Value
Is Emty
OR
(
Country
=
US
AND
Phone Number
Match
+1 and other 10 digits
)
OR
(
Country
=
ES
AND
Phone Number
Match
+34 and other 9 digits
)
OR
(
Country
=
CU
AND
Phone Number
Match
+53 and other 8 digits
)
Reset
Validate on Client
Submit for Validation