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
Recent comments
Hi Nombre Apellido We do hosting in the UK and look after a Spanish domain...If no one closer can help, please don't hesitate to reach out. The site I'm creating is for a...
innodus (Barcelona) listing – website looks compromised or no longer theirs?
This is Robert's Backdrop profile: https://backdropcms.org/account/robertgarrigos You can see he is very active in Backdrop and very experienced. And this is his company...
innodus (Barcelona) listing – website looks compromised or no longer theirs?
Thanks for the report. I will unpublish it. Robert Garrigos is based in Spain and can probably help. I will ping him and point him here.
innodus (Barcelona) listing – website looks compromised or no longer theirs?