JavaScript Proper Social Security Number Validation

One more JavaScript code example to accept numeric characters. But this JavaScript will work in the different manner, it only allows a set number of characters to be entered into a text field and then focus on the next element, the users can still enter other characters but the form will be disabled until they entered right. Easy to implement and edit as you want.


Sampled by © JavaScriptBank.com

This form is formatted for a social security number (XXX-XX-XXXX).

The limit for each individual field is passed to the function by the appropriate input event, as shown in the form using the format: onKeyUp="advance2('currentField','nextField',limit)"


2000+ free JavaScripts
at www.JavaScriptBank.com