In almost every Backdrop project at AltaGrade, we find it necessary to trim all textfields using a custom hook. This is because users often leave empty spaces at the beginning or end of their entries. While it may not be a significant issue for textfields like names, as it might only disrupt alphabetical ordering, it becomes more critical for fields that can accept mixed values such as text, integers, and floats. This can affect calculations and lead to more serious consequences. Therefore, I briefly considered the idea of having every textfield entry trimmed by the core. This could be a beneficial solution without causing any known issues. However, I acknowledge that this is just my opinion, and I welcome everyone to share their insights on this matter.

GitHub Issue #: 
6386