Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
igNumericEditor Validation Min and Max
posted

Hi Team,

in igNumericEditor we have min and max range if it not met the criteria for example 

if range is 2 to 10

i have enter 1 it is showing the message but if going out of that control it is rounding off to 2 because min value is 2 

same case if i enter 12 it will be rounding off to 10 if i lost the focus.

So here can we do show the error message with no change in the value in the field 

like this if i enter the 1 it need to show Please enter with in the range if i lost the focus also dont round the value (Place same 1 in the field) and show the error message can we do this like a required field.

Because if lost focus also the message will shown to us.

Thanks & Regards,

Jaswanth

Parents
No Data
Reply
  • 9190
    Offline posted

    Hi Jaswanth Tene,

    I believe the best way for you to overcome this would be to keep focus on the control until the validation requirement is met.

    Here is a sample of what I am proposing:
    http://jsfiddle.net/mr7kv7dd/3/

    Please let me know if this works for you. If not, I can investigate an alternative approach.

Children