No notification displayed when max length of a field is reached or exceeded
We are currently on 9.6.0.2016, and a user complained about the lack of notification as he typed when he reached the maximum number of characters. What upset him is the text got truncated after saving the CR.
Someone brought this up in 2017 too, https://community.cireson.com/discussion/3265/request-that-an-error-notification-be-displayed-if-the-max-length-of-a-field-is-exceeded. May I know if this feature is now available in version 10.2? Please advise.
Answers
I'm running 10.2.1 in my lab and have tested this. Currently fields are limited to their specific length (i.e. description has 4000) and cannot have any more text added to them.
There's no error notification, but text will stop being added to the field.
Hi @Tony_Collett, thank you so much for info.
I'm using this, which adds a text count to all text prompts with a set maxLength on more than 199 chars, ie more than 1 line:
If there's no max length set, the code assumes it's a 1-line prompt, sets the max length to be 199 chars and disables the Enter-key, so there's no line-breaks in 1-line prompt.
Oh, I realized this post is probably not about ROs. Nevermind then :)