Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Send email feature from form using conditional variable field

sonnjohnek
Level 1
Level 1
 

SendEmail.pngI'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. 

1 Accepted Solution
Mayank_Gandhi
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

3 Replies
Mayank_Gandhi
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

sonnjohnek
Level 1
Level 1
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.