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

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Multiple custom fields only showing one result #36807
    samgardinersamgardiner
    Participant

    Ignore the last question.. Thanks

    in reply to: Multiple custom fields only showing one result #36805
    samgardinersamgardiner
    Participant

    Sorry, I tried adding the class of the span to it but it hasn’t worked.

    $(‘form’).on(‘blur’, ‘input[type=”text”], textarea, .asp_select2-selection__rendered’, function() {
    $(this).val((i, value) => value.trim());

    What am I missing?

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

Viewing 3 posts - 1 through 3 (of 3 total)