Check up "length" in your help.

Something like this:

on exitFrame
  if member("yourFieldHere").text.length=25 then checkAnswer
end

on checkAnswer
-- do some checking here
end

regards, Florian

Kenneth Park wrote:
> 
> Hi List
> 
> Newbie here
> 
> I am building a quiz in which the user will input their answer in an
> editable text field. I would then like the user to check this answer against
> the correct answer without  using the return key or clicking on a submit
> button.
> 
> I was thinking that I could use a behaviour which I could attach to the text
> field. This behaviour would count the number of characters keyed in by the
> user and on the last character check the answer.
> 
> The problem is that I don't really know how to do this.  Any help would be
> greatly appreciated.
> 
> Kenneth Park
> Cardonald College
> Glassgow
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to