Min and Max value on Number Field not applying | Community
Skip to main content
Answered

Min and Max value on Number Field not applying


I want to allow minimum 6 digit number and maximum of 11 digit number in a Number field. I have applied settings as:
Minimum Value: 99999
Maximum value: 99999999999
But while filling the form, the field is accepting upto 15 digit number.
Is it applying the settings or its a bug?
Please help.

Best answer by john.desborough

@Jitendra - it’s the face value of the number entered, not the number of digits permitted.. there is no data validation function natively to the scenario you are describting

if you put in minimum of 6 and max of 11, the acceptable entries are 6,7,8,9,10,11  

 

des

View original

4 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5328 replies
  • August 9, 2023

@Jitendra - those minimum and maximum values set a range of numbers the user can enter .. similar to this: 

  • Enter a number between 10 and 50 … the minimum value would be set to 10 and the max to 50

the question is behaving as expected. 

 

des


  • Author
  • Explorer
  • 3 replies
  • August 9, 2023

@john.desborough I have applied minimum and maximum value for my need to accept number between 6 digit and 11 digits.
But while filling the form, the field is accepting value of more than 11 digit. (Accepting upto 11 digit)
I expect the form to show error once the user enters more than 11 digit number, but its not.
 


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5328 replies
  • Answer
  • August 9, 2023

@Jitendra - it’s the face value of the number entered, not the number of digits permitted.. there is no data validation function natively to the scenario you are describting

if you put in minimum of 6 and max of 11, the acceptable entries are 6,7,8,9,10,11  

 

des


  • Author
  • Explorer
  • 3 replies
  • August 10, 2023

@john.desborough 
I have set max value as per the face value only.
 

Let’s say I have set max value for ‘100’ then the number field should not accept 101 (any number greater than 100), right?
But while filling the form, its accepting numbers more than 100.

Please check if its a bug or not


Reply