+ Start a Discussion
Praveen Kumar R 6Praveen Kumar R 6 

How to avoid multiple white spaces entered for a text field?

Hi,

As far as I know Salesforce UI trims the multiple white spaces between the words of a text field. But I can still see them in the edit page of the record. How to avoid continuous multiple white spaces while saving a record itself? 

Also, the UI trims the field value, Is that the same value saved in database?