0

I have created a custom field in a custom object of type Number(2,1) in salesforce. Please let me know how set a max value for this field.

2

You can use validation rules to restrict the values (max / min) in the custom number field - refer this salesforce help article for details with samples

| improve this answer | |
1

S.K, Whenever you create new field in salesforce for example you want to create new number field then choose number then do next in next page under field label you see "Length" and "decimal". And this lines. "Please enter the length of the number and the number of decimal places. For example, a number with a length of 8 and 2 decimal places can accept values up to "12345678.90". So from here you can define max length of this field. And if you want to define maximum value then write a validation rule for this. Thanks, Pritam Shekhawat

| improve this answer | |
1

You can use validation rule to restrict the max. value of number field.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.