Phil Davis wrote/ schreef:
> One way:
>
> get fld "tenDigitNumber"
> if (it is a number) and (length(it) = 10) then
> --do stuff
> end if
Second way:
on keyDown which
if which is a number and the length of me < 10 then
pass keyDown
else
beep
end if
end keyDown
put this into the script of the field. The user won't even ever be able to
enter 'wrong' data.
Hope this helps,
Sjoerd
Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.