As the title states I was just wondering if there was a relatively easy way to add a character counter to custom fields in various page types that we wish to restrict the max number of characters?
Unfortunately nothing out of the box or totally easy. However, with a little dev work you could make your own custom form control that does it. https://docs.xperience.io/custom-development/extending-the-administration-interface/developing-form-controls
The closest OOB functionality would be a validation rule that checks the number of characters on submit: Defining field validation rules. So, the field will accept only the number of characters set in the validation rule. f you want this to update the characters left as they type, you would have to use something like the examples and create a custom form control as mentioned by Brian above:
Great! Thank you both for the responses, I will take these suggestions and give them a try!
Please, sign in to be able to submit a new answer.