Jump to content
Killersites Forums

sparkymom7

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by sparkymom7

  1. Hello, I am trying to put together code in DreamWeaver that will allow me to have an 12 individual emails added to 2 drop down lists within a form. There are 12 organizations with 12 separate org. managers and I don’t want them to receive unnecessary emails that don’t affect their business. I have looked high and low for help but can't seem to get this to work. I can get one drop down with an email using the attached code but the second one won’t work for some reason. I know I’m missing something simple. Intent for the form is when sales Rep fills out form fields with equipment to transfer from one place to another. He then selects a Requesting Org and a Shipping Org, which email will go to specific Org Mgr. * Once Submit button is selected 4 additional people will also receive the request (this will be accomplished using a distribution list) * I have this working on another form, it is the emailing of 2 separate drop down list that has me stumped. Thanks, Sparkymom7 This code works: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>emailformtest</title> </head> <body> <form NAME="transferForm"> <p> Requesting Branch: <select SIZE="1" NAME="transfer"> <option>Select One:</option> <option value="mgr1@mail.com">Org 1</option> <option value="mgr2@mail.com">Org2</option> <option value="mgr3@mail.com">Org3</option> </select> </p> <p> <input LANGUAGE="JavaScript" TYPE="button" VALUE="Submit" ONCLICK="location.href = "mailto:" + document.transferForm.transfer.options[document.transferForm.transfer.selectedIndex].value" NAME="Send email"> </p> </form> </body> </html> This code doesn't work and believe me I have tried many different ways to get this to work - I have simplified code here for the sake of confusion. <!doctype html> <html> <head> <meta charset="UTF-8"> <title>emailformtest</title> </head> <body> <form NAME="transferForm"> <p> Requesting Branch: <select SIZE="1" NAME="transfer"> <option>Select One:</option> <option value="mgr1@mail.com">Org 1</option> <option value="mgr2@mail.com">Org2</option> <option value="mgr3@mail.com">Org3</option> </select> </p> <p> Shipping Branch: <select SIZE="1" NAME="transfer2"> <option>Select One:</option> <option value="mgr1@mail.com">Org 1</option> <option value="mgr2@mail.com">Org2</option> <option value="mgr3@mail.com">Org3</option> </select> </p> <p> <input LANGUAGE="JavaScript" TYPE="button" VALUE="Submit" ONCLICK="location.href = "mailto:" + document.transferForm.transfer.options[document.transferForm.transfer.selectedIndex].value" NAME="Send email"> </p> </form> </body> </html>
×
×
  • Create New...