I'm using the link plugin to create mascara in an input field, the mask I'm using is the next.
$('.campo').mask('0.0.00.000');
I need that when entering the numbers in my field the value referring to the mask be filled with 0 in the same, eg:
1.0.23.000
In this example all the initial values of the input are 0.0.00.000 and when typing the 0 would be filled by my value, if I remove the zero would reappear in that position.
Would anyone have a solution to this problem? The use of plugins is optional.