コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Send email feature from form using conditional variable field

Avatar

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 受け入れられたソリューション

Avatar

正解者
Employee 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

元の投稿で解決策を見る

3 返信

Avatar

正解者
Employee 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

Avatar

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.

Avatar

Employee Advisor
happy to help!