|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
how do i check to see if a textbox has invalid Characters
i am trying to check a textbox if there is any invalid Characters like
?/.>,<=+-_]}[{\|~`! @#$%^&*() i want to make sure that non of these are entered into a textbox before i insert that field into my database.... please post code here.. Thanks.. |
|
#2
|
||||
|
||||
|
Form validation is often done with javascript, rather than asp. http://developer.apple.com/internet...validation.html
has some basics of javascript form validation. If you prefer to use asp for this (more server load, but doesn't depend on the client having javascript enabled), http://www.haneng.com/lessons_13.asp has some basics. HTH
__________________
--Dave-- U2kgSG9jIExlZ2VyZSBTY2lzLCBOaW1pdW0gRXJ1ZGl0aW9uaXMgSGFiZXM= |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > how do i check to see if a textbox has invalid Characters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|