Select to view content in your preferred language

option for text fields to disallow leading spaces

377
1
3 weeks ago
Status: Open
Labels (1)
sblazeycov
Regular Contributor

For data cleanliness it would be nice to have an option for text fields to disallow leading spaces when users enter data. Our users sometimes copy and paste text into fields, and with that sometimes comes leading spaces.  I understand there are ways to remove them easily after the fact (e.g. the lstrip() function in Python), but it would be nice if it ignored leading spaces in the first place.  If I remove spaces from user-entered data then it changes the last_edited_user and last_edited_date, and I don't want to do that. The spaces make an alphabetic sort look wrong, which makes our apps and dashboards look like they aren't quite working properly.

1 Comment
VenkataKondepati

I agree with this — leading spaces can seem minor but they create real problems for sorting, searching, and dashboards. Having a field-level option to automatically trim or ignore leading spaces at data entry would save cleanup steps and avoid unnecessary edits that change metadata like last_edited_user or last_edited_date. It feels like a small enhancement, but it would make a big difference in keeping data clean and user-facing apps consistent.

Regards,

Venkat