Hello List,
Can anyone suggest a way of limiting the input of a field member to only numbers.  
I've tried the approach below, but this for some reason isn't even allowing numbers to 
be entered.

on startMovie
  set the keyDownScript to "checkNumericInput"
end

on checkNumericInput
  theKey = the keyPressed
  okEntries = "1, 2, 3, 4, 5, 6, 7, 8, 9, 0"
  if theKey contains okEntries then
    NOTHING
  else
    alert "Please enter only numbers"
    RETURN
  end if
end checkNumericInput

Thanx for any suggestions,
g fritzinger
  



[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