7 years ago
3
Topic

Hello,

i have a contact form which content is send by email. That's working perfectly. Now I would like to give the sender the possibility to receive a copy of the e-mail or not by clicking a checkbox (I want to receive a copy...) or not. In the email field i can enter additonal recipients but that's not conditional.

How can I realize this?

Thanks Papi

Get a Book for SEBLOD
1283 Posts
Bucklash
7 years ago
0
Level 1

Hi

Have you looked at $config?

Can you see the email field data?

Would you know how to access it so that you can update with new data?

7 years ago
1
Level 1

Hello,

thanks for answering.

I have found a solution:

  1. Createt a Text Field ko_email for the sender email Address.
  2. Created a Checkbox ko_check_email_copy
  3. Created a Text field ko_email_copy in the hidden area of the template.
  4. Conditional State for ko_email_copy:
    This Field is Filled by ko_email WHEN ko_check_email_copy is Equal/in 1
  5. Added the field ko_email_copy to the email field of the form.

Hopefully this is helpful for others with this problem.

Papi

1283 Posts
Bucklash
7 years ago
0
Level 2

Nice solution!!

Probably the 'proper' way, too, nice!

Get a VIP membership