Click here to Skip to main content
15,897,968 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: I'll try to be more specific about what I need Pin
Not Active12-Apr-10 2:25
mentorNot Active12-Apr-10 2:25 
GeneralRe: I'll try to be more specific about what I need Pin
Dalek Dave12-Apr-10 3:32
professionalDalek Dave12-Apr-10 3:32 
GeneralRe: I'll try to be more specific about what I need Pin
Not Active12-Apr-10 5:32
mentorNot Active12-Apr-10 5:32 
GeneralRe: I'll try to be more specific about what I need Pin
fjparisIII12-Apr-10 5:19
fjparisIII12-Apr-10 5:19 
GeneralRe: I'll try to be more specific about what I need Pin
Not Active12-Apr-10 5:34
mentorNot Active12-Apr-10 5:34 
QuestionLocking size of browser window Pin
sangeeta200910-Apr-10 21:33
sangeeta200910-Apr-10 21:33 
AnswerRe: Locking size of browser window Pin
John Bracey10-Apr-10 23:25
John Bracey10-Apr-10 23:25 
AnswerRe: Locking size of browser window Pin
T M Gray12-Apr-10 9:19
T M Gray12-Apr-10 9:19 
QuestionForcing overflowing floats onto one line Pin
hxhl9510-Apr-10 19:02
hxhl9510-Apr-10 19:02 
QuestionHow to bind server controls by using ajaxPro method? how to get dynamic server controls on the javascript ? Pin
Jeneesh K. Velayudhan10-Apr-10 2:29
Jeneesh K. Velayudhan10-Apr-10 2:29 
AnswerREPOST Pin
Not Active10-Apr-10 2:38
mentorNot Active10-Apr-10 2:38 
Questionmigrate from MS ACCESS to C#. Pin
Asif Rehman9-Apr-10 4:53
Asif Rehman9-Apr-10 4:53 
AnswerRe: migrate from MS ACCESS to C#. Pin
Estys10-Apr-10 3:30
Estys10-Apr-10 3:30 
QuestionHttpWebRequest/Response without using IE Proxy Settings Pin
AmitDey9-Apr-10 2:24
AmitDey9-Apr-10 2:24 
AnswerRe: HttpWebRequest/Response without using IE Proxy Settings Pin
Martin Jarvis13-Apr-10 21:01
Martin Jarvis13-Apr-10 21:01 
QuestionSending Form from HTML Webpage [modified] Pin
Dalek Dave8-Apr-10 10:22
professionalDalek Dave8-Apr-10 10:22 
I have a form that I want to send to different email addresses dependant upon a user selection.

(I received some help with this the other day, but I am trying a slightly different approach, for reasons too boring to go into).


<form action="../" enctype="text/plain">

                <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="sendEmailTo" onchange="setAction">
                        <option value="mailto:sales@fosbern.co.uk">Sales</option>
                        <option value="mailto:colin@fosbern.co.uk">Contractor</option>
                        <option value="mailto:pat@fosbern.co.uk">Technical</option>
                        <option value="mailto:enquiries@fosbern.co.uk">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="Question :"></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
                        type="button"
                        value="Send"
                        onclick="location.href=this.form.sendEmailTo.options[sendEmailTo.selectedIndex].value"/>
                </p>
                <p align="center" style="width: 367px">
                    Press the Submit Button and we will contact you shortly with details, prices 
                    etc
                .</p>
                </form>



I have managed to get the email to fire up with the correct address, but it is not filling in the form details.
Probably something simple, but I am full of dimness tonight.

Any help?
------------------------------------

I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
modified on Thursday, April 8, 2010 5:08 PM

AnswerRe: Sending Form from HTML Webpage Pin
Not Active8-Apr-10 10:34
mentorNot Active8-Apr-10 10:34 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 10:38
professionalDalek Dave8-Apr-10 10:38 
GeneralRe: Sending Form from HTML Webpage Pin
Not Active8-Apr-10 11:28
mentorNot Active8-Apr-10 11:28 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 11:35
professionalDalek Dave8-Apr-10 11:35 
GeneralRe: Sending Form from HTML Webpage Pin
Not Active8-Apr-10 11:47
mentorNot Active8-Apr-10 11:47 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 11:59
professionalDalek Dave8-Apr-10 11:59 
GeneralRe: Sending Form from HTML Webpage Pin
Not Active8-Apr-10 12:25
mentorNot Active8-Apr-10 12:25 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 12:32
professionalDalek Dave8-Apr-10 12:32 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 14:02
professionalDalek Dave8-Apr-10 14:02 

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.