Not sendig form: Dropdown menu with recipients

How to fix a CF form not sending emails when using a dropdown menu for recipients.

Overview

The issue occurs because an invisible empty space is present in the email recipient variable.
Carefully check and remove any hidden spaces or characters in the variable placeholder used for the recipient email address.

Answered
pa pat01 01 May, 2018
Hello

I use a form that contains a dropdown menu holding different email addresses.
I did follow these steps:
https://www.chronoengine.com/faqs/52-chronoforms/cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses

But still I can't get it to work. I always receive the message that at least one recipient must be selected.

In the switch event, I did try with Return the result as var? with on and off, same for Handle data arrays, but still it does not work.

Attached you'll find the form. Any idea what could be wrong?

Thank you so much!

Regards
Patrick

CF 6.0.17
Joomla 3.8.7

​[file=10500]Contact_form_01_May_2018_11_34_25.cf6bak[/file]
pa pat01 01 May, 2018
Answer
Solved!

I figured out there was an empty space right before {data:recipient}.
This topic is locked and no more replies can be posted.