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 423,565 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 3,624 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
Views: 488 | Replies: 0
Join Date: May 2008
Location: the Netherlands
Posts: 1
Reputation: diririck is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
diririck's Avatar
diririck diririck is offline Offline
Newbie Poster

Field with UPPERCASE but without soecial characters

  #1  
May 15th, 2008
I hardly have any experience in programming....
a bit with javascript.

Now I am trying to make a form in which I want to force the input to be in a specific way.

No special characters and only uppercase.
I manage to get only 1 of those or uppercase or no special characters.... but not both.

What I have up until now is for Uppercase:
<input name="eigencode" type="text" size=30 maxlength="25"onChange="javascript:this.value=this.value.toUpperCase();" input name=EigenCode type="text" size=30 maxlength="25" value="Vul hier jouw code in.">

For "no" special characters:
//"checkExp(this,/^[\-A-Za-z\d]+$/)"

How do I combine these two ?

Thanks for anyone who wants to help.
Regards!
Rick.
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 6:41 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC