Buy Now
Sign in

Paid - multiple forms write to same dataset etc.

bernhard1701 , March 08 2016
B
bernhard1701
Greetings,
I have a questionnaire in three parts and an additional form for clients data.
After submit of every form data shoould be written in the same dataset
After submit the values of the answer of the question should be added and depending of the sum a specific textblock should be prepared to add to an email

So from part 1 block A or B or C will be selected, same with the other parts

Email will be then e.g.

Hello {name}

your result is
for part 1 {block A}
for part 2 {block C}
for part 3 [block B}

The forms are already designed

Thanks
Bernhard
GreyHead
Hi bernhard,

You can use a Custom Code action to set the value of $form->data['text_block'] depending on the sum (you can also calculate the sum there) - then include {text_block} in the Email template.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
B
bernhard1701
OK, thanks for the info, I'll try to do it myself
GreyHead
Hi Bernhard,

Great - PM me if you find you do need some paid help.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much