This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Multiple custom fields only showing one result

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Multiple custom fields only showing one result Reply To: Multiple custom fields only showing one result

#36804
samgardinersamgardiner
Participant

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());
});