Title: Code executed without the submit button
Last modified: August 21, 2016

---

# Code executed without the submit button

 *  Resolved [andres88](https://wordpress.org/support/users/andres88/)
 * (@andres88)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/code-executed-without-the-submit-button/)
 * Hi
    is there a way to have the filter working as soon as you check the boxes?
   Currently you must click on the Submit button to see the filtered results. Would
   be nice to eliminate the button adn have the code executed when the user select
   an item for the list…
 * thanks
    Andres
 * [https://wordpress.org/plugins/search-filter/](https://wordpress.org/plugins/search-filter/)

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

 *  Plugin Author [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * (@designsandcode)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/code-executed-without-the-submit-button/#post-4813256)
 * Hey Andres
 * You can have the form auto submit when you change an option if you include some
   JS like this example:
    [http://wordpress.org/support/topic/auto-submit-on-select?replies=4](http://wordpress.org/support/topic/auto-submit-on-select?replies=4)
 * However, the page will reload for every change which is not particularly user
   friendly.
 * I think you mean like via AJAX, so as you are changing the search options the
   results auto refresh without reloading the page?
 * This is a great feature idea but very difficult to implement. I am already looking
   in to this but won’t be including this in any version for a while.
 * Thanks
    Ross
 *  Thread Starter [andres88](https://wordpress.org/support/users/andres88/)
 * (@andres88)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/code-executed-without-the-submit-button/#post-4813267)
 * all clear, thanks a lot for your quick response

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

The topic ‘Code executed without the submit button’ is closed to new replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [andres88](https://wordpress.org/support/users/andres88/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/code-executed-without-the-submit-button/#post-4813267)
 * Status: resolved