Notifications
Clear all
Topic starter
On a single edit field you can define the character length but on a multi-line edit field you cannot. How do I go about defining the maximum length of a multi-line edit field? I know by default it is 2,000 but I'd like to shorten it up.
Posted : May 11, 2017 1:54 am
You really cannot control this form item. The issue is multi-line edits 'hold' focus differently from other form items, mostly due to the need to be able to tab and 'enter' within them. As a result, the best you could hope for is to write a function that fires after the user 'exits' the item and measures the size of the string within. It would then warn the user that their text is over the limit and if desired, will be truncated.
Posted : May 11, 2017 6:08 am