Limits on text typed in fields

andu undo at cloud9.net
Thu Nov 14 17:50:00 EST 2002


--On Thursday, November 14, 2002 13:08:10 -0600 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. I
> can't for the life of me figure out how to do this.

I think the idea is to constantly compare (every key) the formattedHeight 
of the field with its actual height and "pass" any keys when the 2 are 
equal, or something like that.

>
> Thanks in advance!
>
> Kristen Billings
> Geriatric Research, Education, and Clinical Center
> VA Healthcare System, Pittsburgh
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac



More information about the metacard mailing list