This script has 5 modes, each validate different form element(s). They are as follows.
The example below is set to validate all fields.
Field 1:
Field 2:
Field 3:
andrewbuchan.co.uk