Limit max characters on Input fields

I’ve looked around in the Validations control options but there doesn’t seem to be a way to limit character input on a field. This would be a useful addition, including a ‘x/y characters left’ or ‘x characters left’ counter shown to users while filling in the field.

This one would also be nice to have as a top-level control under the General section of the Inspector.

The character Comparison is the validation for this. There is a maxlength HTML property we could support in addition to this which I’ll make note of, if you were referring to on the input itself.

image

Oh right I overlooked that validation option.

It’s probably good to include the HTML maxlength property. Though being able to show the user the number of characters allowed as they type would be nice too. That’s not a standard feature and needs custom JS.

A validation option for words may be a nice addition. Then you can set a max. amount of words.