Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-18-2010, 07:17 AM #1
- Join Date
- Mar 2009
- Thanked 0 Times in 0 Posts
less than or equal to 7 characters
ive done this before but i cant for the life of me remember how to do it. Its something super simple i know that but what i need is
when a text box passes a variable from a form to another page it has to be more than 7 characters whether it be numbers or letters or symbols right now i have
textbox = request.form("textbox") if textbox <= 7 then response.write "testing its more than 7 characters" else response.write "its less than 7 characters" end if
can someone help me out?
03-18-2010, 08:21 AM #2
If LEN(textbox) <= 7 Then
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Users who have thanked Old Pedant for this post: