Title: Auto submit   remember selected value
Last modified: August 30, 2016

---

# Auto submit remember selected value

 *  Resolved [dries25](https://wordpress.org/support/users/dries25/)
 * (@dries25)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/)
 * First of all, great plugin!
 * I do have 2 issue though:
    1) On an exposed filter, once I’ve selected something
   and press “submit”, the filter is reset. It displays the correct filtered data
   but the content of the filter is reset to the first value. It would be nice that
   the selected value is seen after reloading the page 2) Also, is there a way I
   can avoid having to press the submit button and get an auto-submit on selecting
   a value from the list?
 * [https://wordpress.org/plugins/query-wrangler/](https://wordpress.org/plugins/query-wrangler/)

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

 *  Plugin Author [Jonathan Daggerhart](https://wordpress.org/support/users/daggerhart/)
 * (@daggerhart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783203)
 * Hi Dries25,
 * 1) Could you try updating to the newest version (1.5.39) and see if that helps?
   If that doesn’t work, could you tell me which exposed filters you’re using?
 * 2) You could do something with javascript, but QW doesn’t have any settings like
   that at the moment.
 * Thanks,
    Jonathan
 *  Thread Starter [dries25](https://wordpress.org/support/users/dries25/)
 * (@dries25)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783205)
 * Hi Joanathan,
 * Thanks for the feedback.
 * For the 2nd point, I’ll look further.
 * For the first point, I’ve updated to version 1.5.39, but now the dropdown remains
   empty.
    In the edit query, I can select e.g. taxonomy as filter and all the values
   are listed to be selected. But if I expose the filter, I don’t get the values
   in the dropdown.
 * Anything I can do to provide some logs for your debugging?
 *  Plugin Author [Jonathan Daggerhart](https://wordpress.org/support/users/daggerhart/)
 * (@daggerhart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783206)
 * Dries,
 * Sorry about that. I’ll keep looking.
 * In the meantime, can you inspect the exposed form on your site to see if there
   are any php errors in the source that we are missing?
 * Thanks,
    Jonathan
 *  Thread Starter [dries25](https://wordpress.org/support/users/dries25/)
 * (@dries25)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783207)
 * Jonathan,
 * No PHP errors are shown when I enable error reporting in my php settings.
 * Best regards,
    Dries
 *  Plugin Author [Jonathan Daggerhart](https://wordpress.org/support/users/daggerhart/)
 * (@daggerhart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783208)
 * Hi Dries,
 * I think I got it. I just pushed out a new update with this fix and a few others.
 * Let me know how it goes.
 * Thanks again,
    Jonathan
 *  Plugin Author [Jonathan Daggerhart](https://wordpress.org/support/users/daggerhart/)
 * (@daggerhart)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783209)
 * Btw, the jQuery for an auto-submit like feature might look something like this:
 * `
    jQuery('select[name=exposed_post_types]').change(function(){ this.closest('
   form').submit(); });
 *  Thread Starter [dries25](https://wordpress.org/support/users/dries25/)
 * (@dries25)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783210)
 * Hi Jonathan,
 * Thanks, now it’s working!
 * Also thanks for the jQuery code, I’ll figure out where I need to put that (never
   did that before).
 * Thanks again.

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

The topic ‘Auto submit remember selected value’ is closed to new replies.

 * ![](https://ps.w.org/query-wrangler/assets/icon-256x256.jpg?rev=3279076)
 * [Query Wrangler](https://wordpress.org/plugins/query-wrangler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-wrangler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-wrangler/)
 * [Active Topics](https://wordpress.org/support/plugin/query-wrangler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-wrangler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-wrangler/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [dries25](https://wordpress.org/support/users/dries25/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/auto-submit-remember-selected-value/#post-6783210)
 * Status: resolved