Title: Tab Refresh
Last modified: August 22, 2016

---

# Tab Refresh

 *  Resolved [Jon](https://wordpress.org/support/users/jonogborne/)
 * (@jonogborne)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tab-refresh/)
 * Hi,
 * I have 2 tabs and a form inside the second tab. The form submits to the same 
   page but when the form is submitted it refreshes the whole page and takes me 
   back to the first tab. Is there are way for either of the following:
 * 1. When the page refreshes it automatically goes back to the second / active 
   tab
    2. Have the form refresh in the tab only, rather than refreshing the entire
   page.
 * I understand we can make a tab active by using the open=”yes” command, however
   we need the first tab shown originally.
 * Any help on this issue would be greatly appreciated. P.s Well done on an awesome
   plugin.
 * [https://wordpress.org/plugins/tabby-responsive-tabs/](https://wordpress.org/plugins/tabby-responsive-tabs/)

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

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tab-refresh/#post-5390750)
 * If your form can be configured to set the confirmation page shown after the form
   is submitted you should be able to achieve this using an additonal feature I 
   recently added to the plugin.
 * Set the redirect to go to the same page, but adding a ‘target’ url parameter.
   The value to use should be the tab title converted to lower case with hyphens
   in place of spaces, and no punctuation.
 * For Example if your tabset is on a page called ‘contact’ and the tab has a title
   of ‘Mail Form’, try setting the form’s confirmation page as:
 * [http://yoursite.com/contact/?target=mail-form](http://yoursite.com/contact/?target=mail-form)
 *  Thread Starter [Jon](https://wordpress.org/support/users/jonogborne/)
 * (@jonogborne)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tab-refresh/#post-5390760)
 * Brilliant, worked perfectly. You my friend are a genius. 🙂
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tab-refresh/#post-5390767)
 * Thanks! I’m glad that worked for you. I hadn’t thought of this use-case, so I’m
   glad it was worth adding the target url parameter.

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

The topic ‘Tab Refresh’ is closed to new replies.

 * ![](https://ps.w.org/tabby-responsive-tabs/assets/icon-256x256.jpg?rev=2682041)
 * [Tabby Responsive Tabs](https://wordpress.org/plugins/tabby-responsive-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tabby-responsive-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tabby-responsive-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/tabby-responsive-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tabby-responsive-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tabby-responsive-tabs/reviews/)

## Tags

 * [tab](https://wordpress.org/support/topic-tag/tab/)

 * 3 replies
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/tab-refresh/#post-5390767)
 * Status: resolved