•
•
•
•
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 363,400 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,072 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: 355 | Replies: 0
![]() |
•
•
Join Date: May 2008
Location: the Netherlands
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
Rick.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: External Javascript does not laod + error
- Next Thread: JavaScript posting data


Linear Mode