Forms >>> Ignore Spaces.
Removes spaces from a string variable within a script or from user input into a text box. Several different uses are shown on the script example page.
Before: String = x xx xxx xxxxOr, try entering a string with spaces in this box.
Add the below code to the <body> section of your page: