Testing Javascript form validation.