Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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 +"; ";}
Copy link to clipboard
Copied
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 +"; ";}
Copy link to clipboard
Copied
Thank you!