I created 5 webforms. Then, created a Quicktab to display each webform in its own tab. So I have 5 tabs/5 webforms - great.

The issue I have is when I submit a webform (with errors) on Tab 2, 3, 4 or 5, the form refreshes to let me know I have errors, but it also takes me back to Tab 1.

I have to remember which Tab (webform) I was originally on, then select the tab, then fix my webform errors.

I am using the ui_tabs renderer on Quicktabs, and I do have History selected.

Any help would be appreciated. thanks.

CommentFileSizeAuthor
#5 quicktabswebform.zip1.47 KBknalstaaf
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hansnavas’s picture

Assigned: hansnavas » Unassigned
Back From 7’s picture

This is happening to me too... Webform is in a block with all pages set to display in block.

Quicktabs 7.36 reverts back to default tab when required fields cause validation errors. This module is unusable with webforms.

UPDATE: When using node instead of block with webforms, the tab stays put and DOES NOT REVERT back to default tab. This seems to be working now.

Back From 7’s picture

UPDATE 2: This didn't work. I had my default tab as the node for testing. The tabs still move back to the first tab. My webform was supposed to be in tab 3...

cornelyus’s picture

Hi

I have same issue, except with EntityForm...

knalstaaf’s picture

Version: 7.x-3.0 » 7.x-3.x-dev
Component: Tab styles » Code
Category: Support request » Feature request
Status: Active » Needs work
FileSize
1.47 KB

Attached to this post you'll find a submodule which provides a possible fix to the issue with Webform and pagebreaks.

Mind you that this module isn't plug & play; you'll have to adjust the form ID's (quicktabswebform.module) and tab ID's (js/redirect.js) to the one's you're using in your project (as indicated by comments in its code).