Questions tagged [maskedinput]

This jQuery plugin allows the application of a mask for fixed width inputs. This saves the user keystrokes and helps standardize data.

This jQuery plugin allows the application of a mask for fixed width inputs. This saves the user keystrokes and helps standardize data

Try out a demonstration.

203 questions
0
votes
1 answer

How to make two maskedinput work on a single input?

I'm creating a color picker, but I want to let the possibility to the user to choose transparent as color, I'm using the masked input to filter hexadecimal inputs and letters at the same time, everything in one input. You can see on JSFiddle :…
Horai Nuri
  • 5,358
  • 16
  • 75
  • 127
0
votes
1 answer

jquery mask for money range

My User will input salary range I want to format it so I use mask But I want to mask my User input value like this 5 000 TL-8 000 TL maybe my user input 1000 TL-100000 TL I tried this $("#WageRange").mask("99999 TL - 99999 TL"); but this not work…
user1688401
  • 1,851
  • 8
  • 47
  • 83
0
votes
1 answer

ASP.NET, TextBoxFor using JQuery MaskedInput not accepting input when others do

I have a @Html.TextBoxFor(...) not accepting any input when I assign it a .mask("(999) 999-999"); in a supporting JavaScript file, why? The textbox in question is located in MainFocus.cshtml with this HTML:
Ryan Taite
  • 789
  • 12
  • 37
0
votes
1 answer

Masking decimal precision with commas

I have a situation where I'm trying to mask decimal length of varying lengths. One of the requirements is that the input needs to have a ',' between every 3 digits (inserted automatically). The precision of the decimals is fixed to what type they…
adc90
  • 303
  • 3
  • 10
0
votes
2 answers

ReactJS: mask input

I am trying to create an masked input component using ReactJS. Following Mask card number input in React i get error: Object doesn't support property or method 'mask'. I did have to make some changes because it seems the post may be a bit…
roca323
  • 455
  • 2
  • 8
  • 26
0
votes
0 answers

Why will this Javascript run on individual page but not from a common file?

I've got an ASP.NET MVC app and I'm trying to use this Masked Input Plugin to mask/hint at dates. If I put this script in the @section Scripts{} at the bottom of the page, it functions just fine. Code…
Kumaresan Perumal
  • 131
  • 1
  • 1
  • 13
0
votes
1 answer

cannot paste number into kendo masked input unless the mask is selected first

Here are two examples. My fiddle, where pasting a 10-digit number does not work unless the mask is first selected, and then a working example, where a phone number can be pasted without first selecting the mask. What must I do to allow the 10-digit…
Tim
  • 8,669
  • 31
  • 105
  • 183
0
votes
1 answer

jquery masked input cursor carrot automatically in wrong spot

Hello I am using the http://digitalbush.com/projects/masked-input-plugin plug-in on a form. On desktop it works wonderfully but on some versions of Android it seems to place the cursor carrot to the left side of each character typed instead of the…
brett
  • 1
  • 5
0
votes
1 answer

How to user MaksedInput definitions property in Yii2

I need to understand how to use MaskedInput definitions property because i have "phone" field and it have always contain + at start and after it it have contain 10-15 decimal characters. How to implement it?
Link
  • 669
  • 7
  • 20
0
votes
1 answer

how to apply masked input plug-in to a password field?

I am trying to apply masked input plugin ( jquery.maskedinput.min.js ) to a password field in order to create : ****-****-**** It is basically a registration key separated by dashes. $(document).ready(function(){ …
CFNinja
  • 3,571
  • 4
  • 38
  • 59
0
votes
1 answer

HTML Form input form - client-side size limit and auto-adding dashes

How do i write my HTML input forms like this: Example: Instead of typing: 012345678910 ...when typing in the forms it will do this 01-234567891-0 ...like include dashes and limit to only 12 digits integer?
Oscar
  • 43
  • 4
0
votes
1 answer

Masked Input: remove hyphen from number input

I'm using Masked Input plugin for jQuery in my form this way: $('#phone').mask("9999-9999"); Then, all the form is serialize and send to a PHP file using AJAX. The problem is I need to remove the hyphen from the phone number. I try…
marcelo2605
  • 2,734
  • 4
  • 29
  • 55