Use several forms as one

squirrel 13 Dec, 2011
Hi,
I have a little problem here and need your help. I want to use more than one form as one. (using Joomla 1.7.3)

In the first form you can choose a product. Then when you click the "next"-button, the next form appears. Here you have to enter all your data and click submit.

The result from the first form must be cached somewhere ...Right? In the end, the results of the two forms must be joined together.

Unfortunately, I do not know how to do that. Can you help me?

All the best,
Pawel
GreyHead 13 Dec, 2011
Hi pawel,

Set the URL of the second form as the On Submit URL of the first one. The data from the first will be available in the $form->data array and you can pass it on on using hidden inputs or the Data to Session action.

Bob
This topic is locked and no more replies can be posted.