|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Text Help Please
I was trying to make my program for class to where only a set amount of keys can be used (Only letters for a text box... like it beeps and won't allow that character to appear, only the listed keys). My teacher said that he was very weak in that category and said I should try some sites for it. Any help is thanked for in advance.
|
|
#2
|
|||
|
|||
|
regular expression
If you are talking about a web form, you can try to use client-side javascript and create a regular expression for the allowed characters.
See here some pointers on how to do that: http://www.devguru.com/Technologies...ref/regexp.html vbscript also supports regular expressions, so you can also do this server-side in the ASP context Hope this helps
__________________
- Rogier Doekes |
|
#3
|
|||
|
|||
|
Hmm.. shoulda said that this is for VB. I just want to disable certain keys during run time, which command does that I do not know and sorry rdoekes that page didn't do too much for me... but thanks for trying any ways.
|
|
#4
|
|||
|
|||
|
Oh yeah and I just saw that VB can stand for Visual Builder... I wanted to make clear that the VB I mean is Visual BASIC.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Text Help Please |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|