Title: Two forms, same name?
Last modified: August 24, 2016

---

# Two forms, same name?

 *  [Everlast00](https://wordpress.org/support/users/everlast00/)
 * (@everlast00)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/two-forms-same-name/)
 * So I have two forms on my page. One to search for a product, one to search for
   a brand. But whenever I search either for a product or a brand, on the results
   page my two input fields gets populated by the search term I used.
 * So let’s say I search for Laptop in the product field, the results page will 
   show my the text input field for both Product and Brand with Laptop filled in,
   you get it?
 * It’s because the forms probably have identical name (they are both called skeyword).
   Any ideas?
 * [https://wordpress.org/plugins/ultimate-wp-query-search-filter/](https://wordpress.org/plugins/ultimate-wp-query-search-filter/)

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

 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/two-forms-same-name/#post-6042737)
 * No, i don’t get it.
    Can you give me your site url?
 *  Thread Starter [Everlast00](https://wordpress.org/support/users/everlast00/)
 * (@everlast00)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/two-forms-same-name/#post-6042808)
 * Hi!
 * This is [the site](http://bit.ly/1cptJ0h).
 * You can see 2 forms.
 * When you type something in “Zoek Schip”, and search with the button “Zoeken”,
   the next page will show the search results, but you will also see the “Zoek leverancier”
   input box populated with the search term.
 * So you have 2 search boxes populated. That’s because the search input box has
   the same name=”” attribute. How do I fix this?
 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/two-forms-same-name/#post-6042809)
 * That’s the problem when using two form in one page. The name is essential so 
   it is not a good practice to change it.
    The best option is not holding the search
   query in the form.

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

The topic ‘Two forms, same name?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-wp-query-search-filter_fcfcfc.
   svg)
 * [Ultimate WP Query Search Filter](https://wordpress.org/plugins/ultimate-wp-query-search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-wp-query-search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/two-forms-same-name/#post-6042809)
 * Status: not resolved