UI Deploy

Curated, Short, Web UI Dev we Love.

Live Validation of Form Fields Using jQuery– Validate as you type

Validating any web form is really important to collect correct data. Now validation can be done in many ways most of the time people go with server side validation. But just assume how irritating it would be for your visitors when they fill up the entire form and after submitting they get response from server about “Invalid Field” or something like that. So Client side validation can solve this problem but again what’s the benefit if all the fields are validated once form’s “submit” button is clicked? It would be best if all the fields are validated individually i.e. validate as users type. Yeah it’s good to alert them at the same moment when they fill any field incorrectly.

view source

Advertisement