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

Web Development

 
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 
ok looking at this code ...
<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;"> </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"> </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>



This first input element where
name="Customer Name :"
needs to be ...
name="CustomerName"

Now where you have the maito ...
="mailto:sales@fosbern.co.uk"
Make it like this ...
="mailto:sales@fosbern.co.uk?subject=HomeQuery&body="
Next where you have ...
onclick="location.href=this.form.sendEmailTo.options[sendEmailTo.selectedIndex].value"/>
do this ...
onclick="location.href=this.form.sendEmailTo.options[sendEmailTo.selectedIndex].value + this.form.CustomerName.value"/&gt;
OK that just adds a subject and the name to the body,
just add more form.element.valuues to get the rest.
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 
QuestionProblem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
Stephan Pilz7-Apr-10 4:25
Stephan Pilz7-Apr-10 4:25 
AnswerRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
daveyerwin7-Apr-10 5:18
daveyerwin7-Apr-10 5:18 
JokeRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
T M Gray7-Apr-10 8:51
T M Gray7-Apr-10 8:51 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
Stephan Pilz7-Apr-10 9:09
Stephan Pilz7-Apr-10 9:09 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
daveyerwin7-Apr-10 10:07
daveyerwin7-Apr-10 10:07 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
T M Gray7-Apr-10 10:07
T M Gray7-Apr-10 10:07 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
Stephan Pilz7-Apr-10 10:25
Stephan Pilz7-Apr-10 10:25 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
T M Gray7-Apr-10 10:44
T M Gray7-Apr-10 10:44 
GeneralRe: Problem with jquery.ajax result - auto replaced chars and enclosed in XML - Why ??? Pin
daveyerwin7-Apr-10 10:50
daveyerwin7-Apr-10 10:50 
Questionhow to make a link to facebook? Pin
bigeyed6-Apr-10 3:33
bigeyed6-Apr-10 3:33 

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.