Java Script: Automatic Phone Number Formatting

  1. Login to Live Forms as a designer user. Click the Edit icon for the application where you want to use the JavaScript. Click on the Script tab located on the left menu. 
  2. Download the phoneFormat.js file from this article.
  3. Browse your hard drive for you script file, Click Upload. Your file will be uploaded and it will display with the name Custom Script even though your script file has another name. Be Aware that existing JavaScript files will be overwritten...
  4. If you need to modify the script, you must download it, make your modifications and then upload it again. When you download the script by clicking on the   Download icon, it will be named custom.js.  

  5. Once you have uploaded the JavaScript, it is available for all forms/flows in the application. Remember to add the CSS class name PhoneInsert to your form controls. 

Details

Article ID: 52066
Created
Mon 4/16/18 5:24 PM
Modified
Tue 4/17/18 9:40 AM