### Parsley

Tweet

## Craft your own validators demo

<< Back to examples — Try it on CodePen

# Custom validators

### Simple ajax request

US Zip Code * :

* This checks the actual existence of a zip code using ajax (e.g.: 00001 is not an actual US Zip code).

### Complex ajax handling

#### Location

US State:
Zip:

* A complete example showing Ajax, promise chaining, dynamic custom error message, interdependent fields.