User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,593 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,327 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Javascript Input Mask / Validation

Join Date: May 2008
Location: Nant-y-moel, South Wales
Posts: 9
Reputation: ajberrow is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ajberrow's Avatar
ajberrow ajberrow is offline Offline
Newbie Poster

Re: Javascript Input Mask / Validation

  #3  
May 20th, 2008
This may help :

http://ginger-space.blogspot.com/200...alidation.html

Amend and expand the code that's in there checking which character you're on and using an ASCII chart to find the codes for the letters you want to allow in position 1. You could also check for the lower-case values and convert to the upper-case values, if you wanted to.

Anthony
Reply With Quote  
All times are GMT -4. The time now is 11:46 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC