Your Name
Your Email Address
Subject
Message
Image Verification
Please enter the text from the image
[ Refresh Image ] [ What's This? ]

 
 
 
 
 
Email form scripts
Main page    Help   Software   Windows Ports List Rev 5-2008
 
http://www.webformdesigner.net/wfd_welcome.html Free web form relay service
 
    

complete list;
http://www.irt.org/articles/js071/index.htm
Very Basic example below;

Placing information within the contents of an email form.

When sending an email using a form, any form fields which are named have the name of the form field along with the value of the form field placed in the contents of the email.

For example the following form:

 

<FORM ACTION="mailto:someone@somewhere.com" METHOD="POST" ENCTYPE="text/plain">
<INPUT TYPE="TEXT" NAME="myTextName" VALUE="123abc">
<INPUT TYPE="SUBMIT">
</FORM>

Will, when submitted, create an email with the following contents:

 

myTextName=123abc

Therefore, to place the contents of the previous example within an email the form would need to look something like:

 

<FORM ACTION="mailto:someone@somewhere.com" METHOD="POST" ENCTYPE="text/plain">
<TEXTAREA NAME="<SCRIPT SRC" ROWS="15" COLS="70">
"http://www.irt.org/articles/js071/testform.js"></SCRIPT>

<SCRIPT LANGUAGE="JavaScript">

inputSelectValue("selectList1",1);

inputSelectValue("selectList2",6);

inputTextValue("textBox1","some text");

inputCheckBoxValue("checkBox1",true);

inputCheckBoxValue("checkBox2",true);

</SCRIPT>
</TEXTAREA>
<INPUT TYPE="SUBMIT">
</FORM>

The lines between the <TEXTAREA> and </TEXTAREA> tags is the content of the textarea field.

Note that the name of the textarea is <SCRIPT SRC. When combined with the first line within the textarea "http://www.irt.org/articles/js071/testform.js"></SCRIPT> this forms the line:

 

<SCRIPT SRC="http://www.irt.org/articles/js071/testform.js"></SCRIPT>

The = sign is place there by the browse

 

 

 

Rev 2-02 DMM  for VehicleFX.com