maxlength attribute for text field

hekla 29 Jan, 2018
Hi there

I could not find where to set the simple good old fashioned maxlength attribute for a text field (<input>).
I did find the "maximum length" in the validation though, but I do not want the user to run into the validation if not neccessary.

Greetings,
Hekla
GreyHead 29 Jan, 2018
Answer
1 Likes
Hi Hekla,

You can use the Extra attributes box on the Advanced tab of the Text Files element to add extra attributes.

Bob
hekla 01 Feb, 2018
Thank you, Bob.
hekla 13 Feb, 2018
An useful additional information for all those to come:
the syntax is not like in HTML maxlength="5"
but slightly different: maxlength:5
This topic is locked and no more replies can be posted.