Click here to Skip to main content
15,887,746 members
Home / Discussions / Web Development
   

Web Development

 
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 
AnswerRe: Sending Form from HTML Webpage Pin
daveyerwin8-Apr-10 13:52
daveyerwin8-Apr-10 13:52 
GeneralRe: Sending Form from HTML Webpage Pin
Dalek Dave8-Apr-10 14:01
professionalDalek Dave8-Apr-10 14:01 
GeneralRe: Sending Form from HTML Webpage Pin
Not Active8-Apr-10 14:27
mentorNot Active8-Apr-10 14:27 
Questionhow to insert special characters into database msacess using asp Pin
rajivkadam4207-Apr-10 19:41
rajivkadam4207-Apr-10 19:41 
AnswerRe: how to insert special characters into database msacess using asp Pin
Gregory Gadow8-Apr-10 4:06
Gregory Gadow8-Apr-10 4:06 
QuestionLaunch an application from Classic ASP Pin
Member 45264877-Apr-10 17:20
Member 45264877-Apr-10 17:20 
AnswerRe: Launch an application from Classic ASP Pin
daveyerwin8-Apr-10 1:05
daveyerwin8-Apr-10 1:05 
AnswerRe: Launch an application from Classic ASP Pin
Not Active8-Apr-10 1:44
mentorNot Active8-Apr-10 1:44 

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.