Forums

Send form data + redirect to another form?

nelsokelso 16 Aug, 2007
I need to create two separate, but interlinking forms. First, a module on the side would include name, date, email and a few other fields. When this form is submitted, it transmits the data to a larger form, and completes those fields. The second form then has a few of its fields already completed, but the user must complete the others as well before it is sent to the admin.

Example:

<!-- w --><a class="postlink" href="http://www.sigmair.it">www.sigmair.it</a><!-- w --> (the ROOM INQUIRY module on the left side)

sends its data to

<!-- w --><a class="postlink" href="http://www.sigmair.it/en/offer/index.php">www.sigmair.it/en/offer/index.php</a><!-- w -->

How is this possible?

If this can be done, I will be more than happy to buy Chrono Forms!

Thanks,
Nelson<br><br>Post edited by: nelsokelso, at: 2007/08/15 23:13
GreyHead 16 Aug, 2007
Hi nelsokelso,

Try this - create the two forms as say 'form_1' and 'form_2'.
Copy the url for form_2 and paste it into the Redirect URL for form_1, then set the appropriate field values in form_2 with
value="<?php echo $_POST[field_name_x]; ?>";


Sorry, I can't test at the moment, my main PC with my test setup has been taken into intensive care.

Bob
nelsokelso 17 Aug, 2007
I cannot get this to work... Is there anything else I need to do?
Max_admin 17 Aug, 2007
Hi Nelson,

Following Bob's steps should do it but the two forms will be on page body and you cant have a form inside a module!!

Please let us know what goes wrong with you exactly and we will try to help.

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.