Hello

I'm trying to submit a form within a QT tab. The thing is, I'm trying to submit the form to the active tab.

With GET method, it works easily because the internal data of QT is automatically stored.

But I want to use POST and thus I had to hack QT so it reads from both $_GET and $_POST because that was not done by default. I attach the data in hidden inputs and QT successfully reads this.

Now, my problem is that the page is temporarily moved (HTTP code 302) and here I'm stuck. My only opening to a solution is that QT can read the data but later (?) somehow fails with 302. However I ask because this should be a very basic task to perform in a tab system.

Therefore, how can you submit a form to the active tab?

Thanks in advance
/ L

Comments

cmwelding’s picture

Issue summary: View changes

I am also having a similar problem. I have two tabs with forms to calculate data. I am using following code to tell submit button where to go after submit button is clicked for each forms.

<form action="calculator1" method="post">
..............
<input type="submit">
<form action="calculator2" method="post">
..............
<input type="submit">

The calculated data returns result to the same page on each form. When the forms are in the tab, say page "calculator", how can I make it go to the same tab after submit instead of default tab.

Edit: I am using version 7.x-3.6

netw3rker’s picture

Version: 6.x-2.0-rc3 » 7.x-3.x-dev

lets bump this up to 7.x issues

smustgrave’s picture

Status: Active » Closed (outdated)

With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

If still an issue or needed for 4.0.x (latest branch) feel free to reopen