Send email feature from form using conditional variable field | Community
Skip to main content
sonnjohnek
February 19, 2020
Solved

Send email feature from form using conditional variable field

  • February 19, 2020
  • 1 reply
  • 4100 views
 

I'm wondering if it's possible to set up a conditional variable for a send email CC. I have a text field set to populate the CC field. But I need for that field to be nullable. It can't be a required field, because it is an option for the end user. Currently, the form will not submit unless that text field contains an email address. 

 

Any thoughts on how to make this conditional? Thanks. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Gandhi

Instead of null try to send a dummy email as CC. In case user doesn't enter anything default it to dummy email.

 

Thanks,

Mayank

1 reply

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
February 25, 2020

Instead of null try to send a dummy email as CC. In case user doesn't enter anything default it to dummy email.

 

Thanks,

Mayank

sonnjohnek
February 26, 2020
Thanks, Mayank. That's what I went with as a work-around. I was hoping there would be something cleaner, but that should be fine.