marketo/silverstripe-textfieldtrimmer (packagist): Add this SilverStripe extension to any DataObject to automatically trim() every text (ie, HTMLText, Text, VarChar) field before data is saved to the database.
Keywords: silverstripe|textfield|trimmer