Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insert hyphen(-) automatically while typing an SSN in a Textbox using jQuery [closed]

Tags:

jquery

Hi I am building an application where user have to enter SSN into a textbox. Is it possible to insert hyphen(-) automatically like while typing 123 hyphen after 3 i.e 123-. In the same way after typing 123-45 hyphen after 5 i.e 123-45-. Finally 123-45-6789 . I must be able to change number if entered wrongly.

like image 918
wiki Avatar asked Nov 24 '10 04:11

wiki


1 Answers

I think this one can help

Masked input plugin

like image 106
xandy Avatar answered Sep 25 '22 03:09

xandy