Validating form using javascript

Safari uses an interface that looks like a number spinner but increments the yyyy-mm-dd string one day at a time.

In this document, we have discussed Java Script Form Validation using a sample registration form.

This validation descriptor is valid only for drop down lists.

The drop down select list boxes usually will have one item saying ‘Select One’ (and that item will be selected by default).

Unlike with the number (spinner) input type, the range (slider) input type has reasonable defaults for min, max, step, and value.

If you want to collect floating point numbers, use a non-integer for min or step.

Leave a Reply