I need to, on mouseup after clicking a button, check the contents of a small
text field to make sure it doesn't contain any variation of a specific
string of characters.

Example, the field can not contain "My Name" or "my name" or "My name" or
"this is My Name" or "my name rocks" etc.

I'll script the button in the following way ...

on mouseup
if field "f_name" contains [insert script here]
then answer "Your name can't contain the words "My Name" in any form" with
"OK"
if it is "OK" then put empty into field "f_name"
else go to next card
end mouseup

Working with 1.0 Starter Kit.

Also, thank you to those who've helped with the chat code, especially
Michael Fisher and the SimpleChat author.

David

PS. Many, many thanks to Peter in the UK for his help on the presentation.
Everything went smashingly (finally).

-----------------------------

David Janik-Jones | RKD, Inc.

853 Alma Street | Palo Alto, CA 94301
650.324.1355 x13 | Fax 650.324.2968
[EMAIL PROTECTED] | www.rkdinc.com

Reply via email to