Since the actual *size of content* of multi-line fields has an affect on the limits for the entire form, please consider offering, as an option, a user-friendly way to enforce a maximum via the UI.
For most multi-line fields, we don't need 64K, and for form and DB management would like to limit to something much smaller, in a user-friendly way.
For example:
- Admin defines a multi-line field, and accepts option to "Limit Size" and sets it as 2,000 characters.
- In the UI, while the user is entering their text:
- Is not allowed to enter more than that amount. The cursor cannot continue. The point is to catch and notify during typing or pasting (vs. afterwards).
- Ideally - the max and current count is always displayed near the field, such as "1,525 of 2,000". (Or, if such real-time display is technically problematic, and it very well may be, a message pops up that they have reached the max.)
- And, Imports would be forced to the same max.
We realize that via deluge in On User Input or Validate, AFTER the user has input more than allowed, we can test the field length and present a message, and cancel the submit, or even truncate the string. AND that this takes care of the basic need.
But the above would be more user-friendly. Yet we realize that JavaScript to constantly count content length, although available, might be more trouble-prone than its worth.
Any feedback appreciated.
Thank you for the consideration!