Not perfect but should get you started... on keyDown theKey put "0123456789" into tKeys if tKeys contains theKey then if length (me) < 3 then put theKey after me end if end if end keyDown
Terry... On 30/11/10 7:51 AM, "charles61" <csz...@mac.com> wrote: > > How do I limit data entry to only three digits and no decimals in a numerical > data entry field? -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode