Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2004
    Location
    Atlanta, Ga USA
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    emailing thru a form

    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
    Last edited by acf01; 12-06-2004 at 04:45 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by acf01
    is there any way that I can code a CGI or 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?
    yes, there is a way!
    *keep it simple (TM)

  • #3
    New to the CF scene
    Join Date
    Dec 2004
    Location
    Atlanta, Ga USA
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    any idea where I could view some sample code/script, so that I could learn to write it, instead of just cutting and pasting the code--once I actually write the code I retain it better. I have had to learn what I know about js, on my own, without any formal training or help.


    Thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •