last day (15 days later) » 

4:09 PM
1
Q: Masking a social security number input

zazvornikiFor a web application I'm building privacy is very important and so is the format users input their data. To help with this I have inserted a jquery library that will help mask the fields http://igorescobar.github.io/jQuery-Mask-Plugin/ However, I seem to be having trouble masking social securi...

 
I'm working on a kiosking system...people looking over their shoulder is a huge issue. I can't just let them in plain sight besides the fact that it against so many of my companies policies.
I am working on a medical kiosk. This is necessary.
I HAVE a very valid reason. We're pulling up their medical records. And, I'm doing my end and the other programmers are dealing with the backed. All, I need to do is hide the numbers they're entering.
Yes, I know. I just didn't want to find the actual github page and I had the plugin already open on my computer.
If I use type='password' then the entire field will be masked...I need to show the last four numbers...and the other programmers are in asp.
We're trying to get away from three separate text boxes and just use the one. Hence why I was trying to use this plugin.
 
I'd make it a password field with a confirmation - no need to mask anything.
 
@Marcel, yes the x's are there...but the x's are replacing the numbers you enter not covering them up. Just type one number in the box and you can see what it's doing.
@DanielA.White, I can't do that...I have to show the last four numbers.
 
use 2 password boxes and one plain text then. then repeat for a confirmation.
 
@DanielA.White, I cannot use a more than one field and I cannot use a password field. That is why I am trying to use this plugin.
 
4:09 PM
@zazvorniki this plugin does not appear to operate like a password field for certain chars.
 
@DanielA.White, exactly...I'm trying to figure out a way to make this work even if I have to add separate jquery or a regex to make it work.
 
an option when you have 3 text boxes is to combine them into a hidden field and let that be submitted to the server, not each individually
that all can be done w/ jquery
 
I don't have access to the backend, but on the font end I cannot have three boxes on the screen for them to enter into. For both usability issues and design wise.
 
you can have it designed however you would like and for usability, its just handing the events.
$('hiddenThatGoesToTheServer').val($(1).val() + $(2).val() + $(3).val())
 
I really cannot use three inputs. We have been basically ordered from people higher up that we are not allowed to.
 
4:24 PM
ok well i hope you can find a different plugin or write your own to do this for you.
 

last day (15 days later) »