Questions tagged as 'jquery-masked-input'

1
answer

Validating Javascript with jQuery Mask

I'm developing an area where the student will enroll in it, so I decided to get help from libraries like jQuery, I got a good result on this, however there are some errors in my script that I can not identify. <!Doctype html> <html>...
asked by 19.12.2018 / 14:44
1
answer

JQuery mask only alphabetic with strange behavior

I'm trying to add a mask to a field to accept only alphabetic characters. Apparently I was able to find a solution . Code $(function () { $("#name").keypress( function(key) { if((key.charCode < 97 || key.charCode >...
asked by 21.11.2018 / 20:47
3
answers

Capture value of a text without the mascara?

I have a text masked field as follows: $("#txtnuminic").mask("99999999-9"); And I'm trying to extract the contents of it without the mask like this: valor = $("input[type='text']").get(indice).value; I already know that I need to use r...
asked by 28.09.2017 / 16:12
1
answer

Simple Form different input for a model

I have in my database a column value with precision 7 and 2 type big decimal. In my form I use the simple form and I also use the Mask, ie field for value entry would look like this: 70,567.54 However, at the time of saving, the c...
asked by 18.06.2017 / 06:45
0
answers

Problem with inputmask (Mask)

I'm trying to put a mask on my inputs, I think I've called the necessary files, but it's not working. Files: <script type="text/javascript" src="http://localhost/sprodoc-bootstrap/bootstrap/js/inputmask.js"><scripttype="text/javasc...
asked by 18.06.2015 / 03:46
2
answers

Doubt about RG - what is the best way to control the field?

I'm opening this topic to hear from you how you've been working on the issue of adding RG to forms. I think a common concern of everyone when working with forms is that data control is in our hands - not the user's hand. For this, the bett...
asked by 06.09.2016 / 18:04