Quick Tip #4: fValidator – Javascript Form Validator

6 06 2007

For the web developers out there who spend a lot of time doing code on form validation, this little piece of “open-source” script might help. It’s called fValidator and it was created by Fabio Zendhi Nagao.Here’s a little quote from Fabio regarding his script:

Nowadays everybody knows that javascript can be used to validate input data in HTML forms before sending off the content to a server. Despite of that, when there are many fields in the form, the JavaScript validation becomes too complex and boring to code. That’s why fValidator exists, with it form validations are many times easier.

I specifically like the fact that it automatically validates your fields as you type your data – well, actually it’s not as you type, but as you move to other input fields. It also makes use of iMask, which is a tool for masking your input text fields or textarea fields. For instance, if you are expecting an input in this format: _ _ / _ _ / _ _ _ _, the input text field will display those characters as you type (see the attached screen shot for understanding). Aside from displaying those characters, it also restricts the input of letters if you only want numbers, and vice-versa.This tool really becomes helpful if you are creating registration forms for sites, or any other types of form for that matter. I personally am not bothered by using other people’s scripts to make my life easier. It’s really practical.Hopefully one of these days I might be able to contribute my share to the open-source community as well.

Advertisements

Mga Tugon

Information

2 responses

6 07 2008
VanDenn

Welcome friends! ,

15 08 2010
Eman

I’ve also tried this, very useful and easy. Right now, i use built-in functions in IDE’s like Netbeans to validate my forms. btw nice site!

Mag-iwan ng Tugon

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Baguhin )

Twitter picture

You are commenting using your Twitter account. Log Out / Baguhin )

Facebook photo

You are commenting using your Facebook account. Log Out / Baguhin )

Google+ photo

You are commenting using your Google+ account. Log Out / Baguhin )

Connecting to %s




%d bloggers like this: