I added a new (text)field to a Lotus Notes form. The form is a part of an application template.
I need to set the maximum length of 75 characters for the field, but I can’t find a “maxlength” property anywhere. I added the following piece of code to the “Input Validation”:
@If(@Length(qasubjects) > 75; @Failure("The maximum length is 75 characters."); @Success)
The validation is not very user-friendly though, because the user will see this message only after clicking “Save”. I need a max length restriction to this field.
I already tried adding MAXLENGTH=75 to the HTML attributes and “HTML tags” -> “Other” without success.
I’m using Lotus Domino Designer 8.5.2.
From what I gather there is no “standard way” to do this…
There are some JavaScript-based approaches with more or less user-friendliness… perhaps one or a combination of these work for you: