acf01
12-06-2004, 04:13 PM
I have a quick question, is there any way that I can code/write a Java script to send an email to either one of two email drop boxes, depending on which dept is selected on a webform dept# drop-down box?
I have a cgi script that will send my form via email, but I have 2 email drop boxes that when a certain department is selected in the dept drop down box, it needs to go to one of the email addresses, depending on which dept is selected. I have been told that using js, and an "and" or "if" statement, that it can be done. I have some js experience, but not alot. My searches on the web haven't pulled up anything either.
thanks
I have a cgi script that will send my form via email, but I have 2 email drop boxes that when a certain department is selected in the dept drop down box, it needs to go to one of the email addresses, depending on which dept is selected. I have been told that using js, and an "and" or "if" statement, that it can be done. I have some js experience, but not alot. My searches on the web haven't pulled up anything either.
thanks