|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Text field validation
hi guys, how to user VBscript to create a function to validate a text field contain special character or not?was facing this problem for a period of time, hope somene can provide me the link or exmaple coding, thx a million
|
|
#2
|
|||
|
|||
|
VB6
Take a look at the causes validation property of controls, and how to use a validate event. Or you can use the lostFocus() event to run some code to test the contents of the text field.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
where to look for the info of VB6?because i never create validation in VB, but normally in javascript. thx a million |
|
#4
|
|||
|
|||
|
If you're looking for browser or asp text validation try the html or asp forum.
There isn't much reason to use vbscript in the browser unless you don't mind that your code would work with IE only. Search the asp forum for examples of server side asp validation. Visual Basic 6/VBA/VB.NET have different capabilities, refer to the documentation provided with your VB for details on text controls, etc. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Text field validation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|