>Hello friends
>I want the user to type in only numbers in a field and if backspace 
>or delete key is pressed it should work as normal bakspace and 
>delete key works


put this script on the editable field:

on keydown
   if "0123456789"&numtochar(8) contains the key then pass
end
-- 
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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