Formchex
Javascript can be used to inspect form data,
to make sure the visitor followed the directions and
the input is submitable.
I've written several of these form validation scripts
for work lately, and have been evolving a standardized way to do it.
I am recording it here mainly as a reference,
so I can remember next time how to script each form element. |