Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string workaround

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi again,
could you please help me with the other problem:
I need: to count by submiting all the characters of a &quot;want-to-submit&quot; text string and do something like &quot;if it has more than 30 chars, do not proceed the submit - ask to rewrite the input, and if it has <=30 chars, the submit would go on&quot;.

I would have some more questions on this thread, but I'll think them through a bit more for first.

Thank you very much for your help.

Yuro
 
if the strings name is mystring, you can test:

(mystring.length>30)

return true if it is not and false if it is to prevent submission..

jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top