Page 1 of 1

Textbox Maxlength

Posted: Wed Jul 28, 2021 4:12 pm
by franco
Is there a simple wat to set maxlenth of a text box to the length of the field it represents.
I have customers with different email field lengths in there CUSTOMER TABLE.

Code: Select all

Textbox text_1
Field Customer->Email
Maxlenth ????????  This.fieldlength
Or should I use a function to check the two values on save, and make the field length to the longest customer field length.
Thanks in advance.

Re: Textbox Maxlength

Posted: Wed Jul 28, 2021 4:35 pm
by franco
Got it.
Maxlength Len(Customer->Email)
Should I leave POST for others to observe, or delete.