1

I have a currency input field with jquery mask. I need to have min and max values and want user not able to enter invalid values. Here is my code:

$("#amount").inputmask("currency", {
    min: -999,
    max: 999,
    allowMinus: true
  });

But it works only on blur, when focus is moved away from the field. How to prevent to enter values not in the range?

SimonD
  • 1,441
  • 2
  • 18
  • 30

0 Answers0