Save to db and post variables?

tpersson 17 Jan, 2011
Hi!

I believe this is an easy task, but I could not get it right.

I want to to the following:

1. Save the data from form nr 1 to the DB.
2. Use post variables from form nr 1 in form nr 2.

When I use action url it does not save the data to the database but the variables are transmited ok.

How do I do this?

Thanx for help.
GreyHead 17 Jan, 2011
Hi tpersson,

If you use the action URL then ChronoForms never sees the data so it can't save it.

You can get the data back from the database in the second form; or you could use the the multi-page plug-in that will carry it forward for you.

Bob
tpersson 17 Jan, 2011
Does the multi-page save form data after each step?

In the second form I need to pull data from the same table as form nr 1 used to save the data. In form nr 1 I register username, date and several other values. I want form nr 2 to get the data depending on username and date from form nr 1.
GreyHead 17 Jan, 2011
Hi tpersson,

The multi-page plug-in can be set up to save after each step (which I usually do especially with important data) or to save after the last step.

Using separate forms you can get the cf_id of the last saved record and carry that forward in the URL or in the session data.

Bob
tpersson 21 Jan, 2011
Hi!

I will look in to the multi page but for now I made another not permanent solution.

Thanx for you time.
This topic is locked and no more replies can be posted.