Some of theme can be useful only for Italian users or sites targeted on Italy (as many of the default ones
like isSSN or isUSPhoneNumber are not useful for non-US sites), other are simply additional validators
that everyone can find useful.

The idea behind the product is simply collect a set of validators that commonly are putted inside other
products, but in this way not easily reusable.

This validator check the value (“wanted value”) contained in a field, but only when another field contains
a “warning value”.
This mean that when the observed field isn’t matching the value you are monitor, no validation take place;
when this is true, a second level of validation of the current field take place.

You need to configure this validator giving the observed field. After that you need to provide both
warnValue and wantedValue.

Example:

Check that when an observed field contains the value “Other…”, this field contains the value “Foo”.

This first example seems not very useful but know that both configuration parameters can be a specific
value, or a boolean value.

When using boolean values:

When warnValue is False mean that you want to monitor when the observed field is empty.

When warnValue is True mean that you want to monitor when the observed field is not empty.

When wantedValue is False mean that validation will pass if the field if empty.

When wantedValue is True mean that validation will pass if the field not empty (see below).

Another (better) example:

Check that when an observed field contains the value “Other…”, this field contains something.