I have two forms. The first, I choose one option (combo) that on event OnChange submit this form to other form. This other form will get the value of first form and it will search in database for the records that match with this statement.
I have the first form and all works fine.
The unique problem is that I can't recovery in second form the value from the first form. How to do?
==
The first form, to redirect the second form I fill "Submit URL:"
And onchange submit using this javascript:
document.myformsname.submit();
The second form, I tried to recovery the value of the first form using: $_POST['combovalue'] and mosGetParam($_POST, 'combovalue')
But, neither works.😟
I have the first form and all works fine.
The unique problem is that I can't recovery in second form the value from the first form. How to do?
==
The first form, to redirect the second form I fill "Submit URL:"
And onchange submit using this javascript:
document.myformsname.submit();
The second form, I tried to recovery the value of the first form using: $_POST['combovalue'] and mosGetParam($_POST, 'combovalue')
But, neither works.😟
I solved the problem using GET and sending parameters using URL. It's not correct but works...
Hi Muneo, glad you fixed it, but for the info, you can just add the 2nd form URL at the first form submit URL field and it would be fine but no email or database will be made from the first form!
Cheers,
Max
Cheers,
Max
This topic is locked and no more replies can be posted.
