How to tie to forms together

pinixdes 07 Jul, 2011
Hello -

Can anyone help me -

I created a form that an administrator can fill out and create a gift registry for a user. Then I created another form that allows the admin to add items to the registry.

My question is how can I tie both forms together. The second form needs to add the items to the registry created in the first form.

Any help would be much appriciated. Thanks.
GreyHead 07 Jul, 2011
Hi pinixdes,

You'd link them together with a register identifier (possibly the user id). I'd guess that you'll use one table to create and record the registery - one record per registry; and another table for the itemd in the registery - many records per registry?

Bob
pinixdes 07 Jul, 2011
Bob - Thanks for you reply.

The first form saves all the users registry information (name, date, email etc)to the database. Then the second form saves all the items to a separate database table. I am trying to use the cf_id created in the first table to tie them together but not really sure how to do that.

Can you provide pointers?
GreyHead 08 Jul, 2011
Hi pinixdes,

That's a very general question. I'd set up a list of registries in ChronoConnectivity and then have an 'Add New Gift' link for each registry that included the registry ud. Then you can capture that in the Add Gift from as the value of a hidden input and make sure that is saved to the gift record.

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