Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › The Enter key causes issues when used with two or more forms.
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 2 weeks, 5 days ago.
- AuthorPosts
- April 25, 2024 at 6:39 am #47924
My website’s homepage has two Ajax search forms.
When I press the Enter key to submit a search in any form, it always submits the first form located in the header.
I want to focus on a particular form so that hitting the Enter key submits that specific form.
How can I achieve this?Attachments:
You must be logged in to view attached files.April 25, 2024 at 10:15 am #47938Hi,
Thanks for the details!
I just tesed both forms, but I’m correctly getting redirected to two different URLs:
– Header search redirects to: https://staging.morleycollege.ac.uk/?s=test&asp_active=1&p_asid=4&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0¤t_page_id=16736
– The in-page search redirects to: https://staging.morleycollege.ac.uk/courses?s=testI suspect you figured it out? You can actually change the final URL on all search bars independently here: https://i.imgur.com/QDXzFCC.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 25, 2024 at 1:10 pm #47943Yes, I figured out the settings, and now it’s working.
Thank you so much for your fast help.
April 25, 2024 at 1:37 pm #47946You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.