Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > String Validation Using Vb script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-04-04, 22:22
Wajahat_Kaleem Wajahat_Kaleem is offline
Registered User
 
Join Date: Jun 2004
Posts: 2
Question String Validation Using Vb script

Is there any function in vb script that helps us to check that the entered input in textbox is Alphabet
PLZ
Reply With Quote
  #2 (permalink)  
Old 06-05-04, 12:30
MrWizard MrWizard is offline
Registered User
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 191
Not sure what you're after.... maybe I'm missing your point.... but ALL form element values passed via POST or GET are ALWAYS passed as Strings. You can convert the passed values to integer, date, or whatever as needed, once the variables are requested on the page.... but they all get passed as strings.

Tim
__________________
Tim
Reply With Quote
  #3 (permalink)  
Old 06-06-04, 20:16
rokslide rokslide is offline
Coffee Minion
 
Join Date: Nov 2003
Location: Sydney
Posts: 1,515
I assume that what you are trying to do is make sure all characters entered are a-z or A-Z. I don't know of a specific function that will do this for you, but you can write one easily enough. Basically you "walk" through the string and check the ascii code for each letter and check to see if it falls into a certain range.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On