restrict number of characters in a field?
Peter T. Evensen
pevensen at siboneylg.com
Tue Jul 25 17:51:34 EDT 2006
You can put the following in the script for the field. In this case 5 is
the max character.
on keyDown pKey
if the length of the text of me < 5 then
pass keyDown
end if
end keyDown
(note, this hasn't been tested, but just written off the top of my head)
At 04:22 PM 7/25/2006, you wrote:
>Is there a way to restrict the number of characters that a user may type
>in a field?
>
>Thanks in advance, Claire
>
>--
>Claire Bradin Siskin
>Director
>Robert Henderson Language Media Center
>G 17 Cathedral of Learning
>University of Pittsburgh
>Pittsburgh, PA 15260
>Office Phone: (412) 624-5939
>Email: cbsiskin at pitt.edu
>http://www.polyglot.pitt.edu
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588
More information about the use-livecode
mailing list