RobinHerbots/jquery.inputmask — Issue #29: Feature: autocomplete masks on tab?
Author: Webunity
Created: 2012-02-20 15:18:15+00:00
State: open

Hi Robin, its me again, sorry :)

This feature request is for both money fields and percentage fields.

As example: i have this mask:

$('#percentage').inputmask({ placeholder: ' ', 'mask': '999.99', numericInput: true });

(or)

$('#feeinputmask({ placeholder: ' ', 'mask': 'EUR 999.99', numericInput: true });
(p.s. € does not work on UTF-8, and '€' is not translated to an euro sign)

Now the question is this:
I would like that the user can enter the '.' even though the user is not on the '.' mask position. For instance instead of forcing the user to enter "0.50" i would like the user to be able to enter "0.5" and tab out of the field, which would make it "0.50".

Is this possible using a combination of "validator" and "prevalidator" ?