Limits on text typed in fields
Richard Gaskin
ambassador at fourthworld.com
Thu Nov 14 17:54:01 EST 2002
Kristen.Billings at med.va.gov wrote:
> I am working on a program that requires users to type answers into fields,
> which are later sent to fields on another page that is printed. I need to
> limit the amount users can type into the fields, as opposed to the scrolling
> that occurs now (even with a rectangular field instead of a scrolling one),
> so that the answers will fit into the printed fields.
in the field script:
on keydown
if the number of chars of me > 100 then
beep
else
pass keydown
end if
end keydown
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.0: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the metacard
mailing list