HELP: Submit button javascript issue
Hi,
I'm trying to use the submit button in a form to send an email to 1 of 5 people that are available on drop-down menu - they are only names, so i'm trying to make the script to work like when name from this field is selected, use this email address to send
Some thing like this below:
Var cTo Addr = this.getField (Dropdown6);
if value = "X (Name of person)" event.value = "xyz@xyz.com"
else
if (etc....)
I can't seem to get it to work, probably my code is wrong. Can someone please help me?
Thank you!! 🙂
