dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: how to separate the reciever of the form by selected option

  1. #1
    Join Date
    Jul 2014
    Posts
    1

    how to separate the reciever of the form by selected option

    Hello, I am new at this forum, I welcome you all, my name is Ongun.

    I am building a website, I am doing the contact page. I put a <select>and 3 options. depending on an option that user selected i want my form to send email to appropriate person. forexample: if web developer choosen I want form to send email to developer.
    If someone help me with this i will be glad
    thank you.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,156
    You might be able to just set the 'name' attribute on the <select> tag to be whatever the mail script uses for the recipient's Email address, but it's a bad idea to use a mail script that will send Email to any address included in a <form>.

    But if your mail script (properly) sets the recipient's Email adddress itself, you would have to modify the script to allow for selecting the recipient. If you can't do it yourself, try searching in one of the scripts directories out there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles