Yes that worked! You’re a genius.
Going forward, I’m presuming that the space is the result of autocomplete when they fill out the form.
I think this should solve the issue going forward. Thank you very much, life saver.
$(‘form’).on(‘blur’, ‘input[type=”text”], textarea’, function() {
$(this).val((i, value) => value.trim());
});