The ‘Person’ control can automatically make a long formatted version of a person’s name (i.e. “Andrew Brett Jones”) without needing any script.
All you need to do is add the Person control in the form builder, and it will automatically be available to use.
Try this Example
When a user fills out the first, middle and last name the long formatted version is filled in as they go, removing unnecessary spaces in the process.