Questions tagged as 'jquery-mask-plugin'

5
answers

JS Mask for Validation of Hours

I'm using jQuery Masked Input in a project. I made a mask like this: <script> $(document).ready(function () { $("#QuantidadeHoras").mask("99:99"); }); </script> The <input> only lets me fill in the...
asked by 25.06.2015 / 02:36
4
answers

How to add the ninth digit, in a fixed way, using the jQuery Mask?

How to add the ninth digit in a fixed way using jQuery Mask ? $('#telefone').mask('(00) 90000-0000'); This way I use is only optional.     
asked by 19.06.2015 / 22:26
1
answer

MoneyMask does not work on Device

The Jquery plugin does not work on device , would anyone know how to solve this? The question is this, I looked into why the MoneyMask plugin did not work inside device and found that the plugins they use the Keydown event that...
asked by 02.02.2015 / 04:00
2
answers

Time Validation

Personal I'm doing a time validation in Javascript . I can not type the following hours 14:00, 15:00, 16:00 until 20:00, but other hours with you. I'm doing this: var mask = "HH:MM", pattern = { 'translation': {...
asked by 29.08.2016 / 23:36
2
answers

Problem with masquerading in jQuery

I would like to know if it is possible to make a more complete masks for the date field using this plugin (jQuery -mask) for example the user can put in the field 99 month when in fact the month only goes to 12 and in the day field also the sa...
asked by 01.12.2016 / 13:43
1
answer

Masquerade Exchange using Jquery Mask Plugin? [duplicate]

I'm creating a web system and in this system there is the phone field, in this phone field, the user can put a 0800 or a conventional standard phone DDD-Suffix-Prefix. It's okay, I was able to create it with a if , but when typing the...
asked by 21.08.2017 / 03:11
1
answer

I can not change the validation mask when I click on a RadioButton

I'm trying to make a mask for CPF and CNPJ within the same field, the user can choose whether to fill the CPF or CNPJ through two RadioButtons, but the problem is that I can not change the mask of the field when alternating between a option or a...
asked by 05.07.2017 / 19:59
1
answer

problem with Jquery-Mask

I have a problem creating a mask for a field that should receive both a cpf and a cnpj it works normal since the user does not copy and paste the cnpj, when it copies the cpnj to the blank field it does not come complete but if you select what i...
asked by 30.11.2017 / 13:48
1
answer

Validating date of birth with jQuery

I'm using this plugin (jQuery Mask Plugin) to be able to make a mask on my form, but I'm with a little problem in the date field, because the following happens, the user can type any day, month or year ex: 32/99/0001 because there is no month...
asked by 14.12.2016 / 17:07
3
answers

Percentage Mask

I need a percentage mask with the jQuery Mask Plugin v1.5.4 library. What I'm trying to do is that the user can report a value from -99.99 to 99.99. I'm trying like this: $("#edtPercentual").mask("99,99%"); $("#edtPercentual").on...
asked by 10.08.2017 / 14:34