Testing Form Unhidden Version

The goal of this project is to create a script that can be placed on this page that does the following:
1. The data in the SMS Number field is stripped of all characters EXCEPT numbers, stripped of any leading zeros and leading ones (if any), and a single "1" appended to the beginning. Example 1: (650)555-5555 is made into 16505555555. Example 2: +1-415-555-2222 is made into 14155552222. Example 3: 01 818 555 3333 is made into 18185553333.
2. The resulting string is placed into the hidden field called "FBPhone" on this page
3. On form submit, the original data goes to SMS Number field, and the numeric-only version goes to the FBPhone field.

Test Gateway - Use Card Number  4111-1111-1111-1111
Use any future expiration date
Use any CVC

settings
settings
settings
settings
settings
settings
settings
settings
settings
settings
Test My Invisible Field
[bot_catcher]