Creating a relational form

helvecio 03 Jun, 2011
Hi

I want to create a form where each guest must confirm how many people will be in his/her party.

Say Mary was invited. She has a husband and two children (1+3).

Her name will be listed. When her name shows up, the number of people she can bring will be displayed in the next field where one confirms how many people she will be taking.

Something like this:

Your name [Mary Smithg] <- Menu listing all guest's name
# of escorts <- Menu list displaying how many escorts each guest can take.
[1]
[2]
[3]

Can I previously inform ChronoForms the data in a menu list then relating it to another field?
GreyHead 03 Jun, 2011
Hi helvecio,

I've read this a couple of time and I'm not sure that I understand the question :-(

Will the form just have Mary's name and drop down?

In that case, if you add a hidden input to identify Mary then there should be no problem in saving the data.

Bob
helvecio 03 Jun, 2011
Hi Bob,

Thank you for your reply!

Each guest has a pre-determined numberof escorts he/she can take in her party.

I need ChronoForms to know that Mary can take up to plus 3 (example 1), Jane up to plus 2 (example 2) etc. When a certain guest name is chosen in the list, the number os escorts changes accordingly.

[attachment=0]rsvp-form.gif[/attachment]

It's pretty much that scenary when one is asked his/her country: country is selected, then the states are displayed. When one chooes a state then the cities of that particular choice are displayed.

Can that be accomplished with ChronForms?
GreyHead 03 Jun, 2011
Hi helvecio ,

OK - you can do this with Ajax, or more simply with JavaScript.

How long is the list of Guests?

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