How to limit the number of characters for an input field

edited October 15, 2019 in Questions
I have a requirement to limit how many characters can be allowed the user to input into a field.


  • edited May 1, 2018
    for example the subject field on an event should only be 25 characters long.
  • edited October 15, 2019
    You should be able to limit this in the salesforce field settings. I believe you can olso opt to override the meta data settings by clicking on the field in the model editor (not in a layout) and then define max chatacters for text fields
  • edited November 29, 2016
    Hi Jaime,

    Raymond is correct. Here's how to do it in the metadata settings of a specific field, although I would say that it's generally best practice to change this on the Salesforce side first.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!