Need JavaScript to verify Social Security Number or Tax ID
Hello,
I need a JavaScript to verify that a Social Security Number (123-45-6789) or Tax ID (12-3456789) has been entered correctly in a form field.
I'd like it to accept hyphens, and in case the user doesn't enter a hyphen, to automatically place them. It should also not accept letters or any other special characters.
If entered incorrectly, an alert message with pop-up.
The reason why I cannot use the Special category inn the Format tab is because I need a custom message in the alert box, not the default one Acrobat provides.
Any help would be greatly appreciated!
Thanks.

