Jump to content

Using Javascript to Limit Form Field Entry


random1

Recommended Posts

Hey All,

 

I'm looking for how to get straight forward, functions for limiting entry into form fields. These are to help the user and accompany my server-side PHP form validation.

 

e.g.

 

* Only allow letters and numbers (all other keystrokes are ignore and nothiing is typed)

* Disallow space characters in entry

* Limit to only numbers

* Limit to only letters

 

Any ideas on this?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.