Text input filtering
Kevin Miller
kevin at runrev.com
Fri Dec 21 15:18:01 EST 2001
On 19/12/01 8:35 pm, Andre Rombauts <andre.rombauts at win.be> wrote:
> I don't see any easy (quick) way to filter user input in fields (numeric,
> formated number, dates, limited length). I guess all this has to be trapped
> through a 'on KeyinField' scripting. Right?
on keyDown pWhich
if pWhich is not a number then exit keyDown
pass keyDown
end keydown
Kevin
Kevin Miller <kevin at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707.
More information about the use-livecode
mailing list