close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Send to Chosen Email

Thread began 6/25/2012 3:07 pm by illbe322016 | Last modified 6/25/2012 6:08 pm by Jason Byrnes | 843 views | 1 replies |


Send to Chosen Email

I have put a select menu on my form and depending on the users choice, I would like the email the form is sent to to change. For example if a user chooses "textiles" from the drop down menu I would like the form sent to, if they choose "woodcraft" I would like it to go to Any help would be appreciated, I am not an expert at PHP but I am versed enough to understand it.

Thanks in advance


Sign in to reply to this post

Jason ByrnesWebAssist

Create a select list in the contact form, using the email address as the value:

<select name="toEmail" id="toEmail">

    <option value="">woodcraft </option>
    <option value="">textiles </option>

then in the contact form page, find the following line:

$RecipientEmail = "".($WAGLOBAL_Contact_Email_To)  ."";include("WA_Universal_Email/WAUE_contact_1.php");

and change it to:

$RecipientEmail = "".((isset($_POST['toEmail'])?$_POST['toEmail']:"")  ."";include("WA_Universal_Email/WAUE_contact_1.php");
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...