taisho on "[Plugin: Tabby Responsive Tabs] Preventing redirect to default tab with target query"

ساخت وبلاگ

taisho
Member
Posted 35 minutes ago #

By default, after submitting contact form which is in my 2nd tab, no matter whether successful or with error, it reloads the page which is http://example.com/contact. It means that the view defaults to my 1st tab.

I want my 1st tab to stay default, but also want the page after reload stay on the tab it was before. I know that this plugin uses query to select specific tab: http://example.com/contact/?target=contact-form. When I enter address with query, submitting form makes it always stay on the same page.

Is there any way I could tweak tab address to contain query? Or maybe you have other better solution?

Regards

https://wordpress.org/plugins/tabby-responsive-tabs/

If your form builder can use ajax to show the confirmation message without refreshing the page after submitting the form, this issue won't arise. I use Gravity Forms and WP Libre Forms and they can both do this.

taisho
Member
Posted 11 minutes ago #

Unfortunately it doesn't use AJAX and with amount of time I put into customizing the form, including translations, I would prefer finding a solution to the plugin I have installed.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 62 تاريخ : چهارشنبه 25 فروردين 1395 ساعت: 4:55