Removing Spaces in Text Values

Why It Matters:

There were no limits to enter space in the text box, so that leads will be able to enter as much as space in the text box. So we have done enhancement for removing extra space.

How it Works:

When lead tries to enter space in the input box then only one space will be allowed to add between the two words.