Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic email address using radio button check mark

New Here ,
Apr 17, 2025 Apr 17, 2025

Hello 

I am trying to create a JS to send an email based on a radio button check mark.

I have static email  to_address. in the cc_ address I want to creat a script that will cc certan indivudals based on what is checked. I am just beginer at writing code but do have an understandin.

Thank you

TOPICS
Al Assistant , JavaScript
179
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Apr 17, 2025 Apr 17, 2025

Make the export values of the radio buttons or check boxes email addresses.  Then something like this in the script.

 

var ccAddresses  ="";

if(this.getField("Email1").value!="Off")

{ccAddresses+=this.getField("Email1").value +"; ";}

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2025 Apr 17, 2025

Make the export values of the radio buttons or check boxes email addresses.  Then something like this in the script.

 

var ccAddresses  ="";

if(this.getField("Email1").value!="Off")

{ccAddresses+=this.getField("Email1").value +"; ";}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2025 Apr 18, 2025
LATEST

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines