Click here to Skip to main content
15,890,527 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: z-index in IE6 Pin
Jayapal Chandran7-Apr-10 9:00
Jayapal Chandran7-Apr-10 9:00 
GeneralRe: z-index in IE6 Pin
Jayapal Chandran5-May-10 22:02
Jayapal Chandran5-May-10 22:02 
Questionmake sure all of the classes used in the page are built or referenced in the project Pin
Member 10701625-Apr-10 10:46
Member 10701625-Apr-10 10:46 
QuestionHow to speed up to website Pin
vdtrip5-Apr-10 7:41
vdtrip5-Apr-10 7:41 
AnswerRe: How to speed up to website Pin
T M Gray5-Apr-10 10:54
T M Gray5-Apr-10 10:54 
GeneralRe: How to speed up to website Pin
vdtrip5-Apr-10 10:59
vdtrip5-Apr-10 10:59 
AnswerRe: How to speed up to website Pin
MyDevBank5-Apr-10 10:55
MyDevBank5-Apr-10 10:55 
QuestionDecision in HTML Page Pin
Dalek Dave5-Apr-10 3:35
professionalDalek Dave5-Apr-10 3:35 
I have a form within an HTML page.

As you can see from the code, it is hardcoded to post to an address 'sales@anycompany.co.uk'.

I also have a drop down box selecting the type of contact, Sales, Contractor etc.

I would like to email to a different address dependant upon which contact type is selected.

ie a sales type is emailed to sales@anycompany.co.uk, a contractor type is emailed to colin@anycompany.co.uk etc


How can I achieve this selection within HTML?
(Can I do this?)



<form action="mailto:sales@anycompany.co.uk&cc=david@anycompany.co.uk" 
                enctype="text/plain" method="post">
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    <input name="Customer Name :" size="60" 
                        style="background-color: #FFFFCC; text-align: left;" type="text" value="Name" /><input 
                        name="Telephone Number :" size="60" 
                        style="background-color: #FFFFCC; text-align: left; width: 202px; margin-left: 42px;" 
                        type="text" value="Tel No." /></p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 12px; width: 655px;">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    Please use our contact form to make any enquiries.</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    Type of enquiry?</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    <select id="SelectContactType" name="ContactType">
                        <option value="Sales">Sales Enquiry</option>
                        <option value="Contractor">Contractor Enquiry</option>
                        <option value="Technical">Technical Enquiry</option>
                        <option value="Other">Other</option>
                    </select></p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    Your Question...</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 62px;">
                    <textarea rows="3" cols="2" id="TextArea1" name="S1"></textarea></p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 9px;">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 9px;">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 9px;">
                    &nbsp;</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    Finally, Your Email Address...</p>
                <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                    <input name="Customer Email Address :" size="60" 
                        style="background-color: #FFFFCC" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;
                    <input id="Button1" type="submit" value="Submit" /></p>
                <p align="center">
                    Press the Submit Button and we will contact you shortly with details, prices 
                    etc.</p>
                </form>



Thanks.

to see what has been uploaded so far click here[^].

Thanks in advance.
------------------------------------

I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

AnswerRe: Decision in HTML Page Pin
Not Active5-Apr-10 4:02
mentorNot Active5-Apr-10 4:02 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 6:12
professionalDalek Dave5-Apr-10 6:12 
AnswerRe: Decision in HTML Page Pin
daveyerwin5-Apr-10 4:24
daveyerwin5-Apr-10 4:24 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 6:14
professionalDalek Dave5-Apr-10 6:14 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 6:41
professionalDalek Dave5-Apr-10 6:41 
GeneralRe: Decision in HTML Page Pin
User 17164925-Apr-10 7:03
professionalUser 17164925-Apr-10 7:03 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 7:46
professionalDalek Dave5-Apr-10 7:46 
GeneralRe: Decision in HTML Page Pin
User 17164925-Apr-10 11:19
professionalUser 17164925-Apr-10 11:19 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 11:51
professionalDalek Dave5-Apr-10 11:51 
GeneralRe: Decision in HTML Page Pin
daveyerwin5-Apr-10 8:26
daveyerwin5-Apr-10 8:26 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 8:42
professionalDalek Dave5-Apr-10 8:42 
QuestionJava - Eclipse JEE 3.4 and JBoss 5 (Missing classpath entry) Pin
Ram Bonala5-Apr-10 1:54
Ram Bonala5-Apr-10 1:54 
QuestionExternal Javascript Generates "Object Expected" Error in Internet Explorer Pin
Skippums4-Apr-10 15:24
Skippums4-Apr-10 15:24 
AnswerRe: External Javascript Generates "Object Expected" Error in Internet Explorer Pin
R. Giskard Reventlov4-Apr-10 21:06
R. Giskard Reventlov4-Apr-10 21:06 
AnswerRe: External Javascript Generates "Object Expected" Error in Internet Explorer Pin
Alaric_5-Apr-10 4:13
professionalAlaric_5-Apr-10 4:13 
Questionget all elements under a mouse drag selection [modified] Pin
Jayapal Chandran1-Apr-10 19:45
Jayapal Chandran1-Apr-10 19:45 
AnswerRe: get all elements under a mouse drag selection Pin
daveyerwin2-Apr-10 1:20
daveyerwin2-Apr-10 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.