Simplified form to mail: Unlimitted input by Endar WS
<HTML><HEAD><TITLE>New Page 1</TITLE>
<SCRIPT language=JavaScript> <!-- Original: Endar WS (http://2search-engine-optimization.info)
--> <!-- Web Site: http://2search-engine-optimization.info
--> function een(tit, src, alt, vlink1, link1, h1, p1) { newWindow =
window.open('','newwin','width=780,height=400,top=118,left=5');
newWindow.document.write(text); } function endar(tit, src, alt, vlink1, link1,
h1, p1) { document.write('This is the out put of your form. Please do not edit
the star (*) sign
');+ document.write('You can replace * sign with enter, later in your
mailbox');+ document.write('<form method=post
action="mailto:endar@2search-engine-optimization.info">');+
document.write('<textarea name="messages">');+
document.write(link1+'*'+vlink1+'*'+tit+'*'+h1+'*'+p1);+
document.write('</textarea>');+ document.write('<input type="submit"
value="Send Data">');+ document.write('</form>');+
document.write('</html>');
} </SCRIPT> </HEAD> <BODY>Customize-able form, this will
allow you to get multiple input from visitors.
How does it works: Visitors fill the forms. The java-script simplifies it to
become single-input form (textarea type) and then submit the input to your
email or guest book. Simplifies the input without loosing the input value.
This will much help the web masters who have any difficulties in creating php
or CGI script.
<FORM> <TABLE border=0 borderColor=#111111 cellPadding=0
cellSpacing=0 id=AutoNumber1 style="BORDER-COLLAPSE: collapse" width="92%"
height="171"> <TBODY> <TR> <TD width="24%" valign="top"
height="13">Title</TD> <TD width="76%" valign="top" height="13">
<INPUT name=tit value="SEO" size="20">
</TD></TR> <TR> <TD width="24%" height="22">Image
Source</TD> <TD width="76%" height="22"> <INPUT name=src
value="effective-seo.gif" size="20"></TD></TR> <TR> <TD
width="24%" height="22">Alt attribute for image</TD> <TD
width="76%" height="22"> <INPUT name=alt
value="2search-engine-optimization.info : seo tutorial"
size="20"></TD></TR> <TR> <TD width="24%"
height="22">Texts Link1</TD> <TD width="76%"
height="22"><INPUT name=link1 value="link satu "
size="20"></TD></TR> <TR> <TD width="24%"
height="22">Value Link1</TD> <TD width="76%" height="22">
<INPUT name=vlink1 value="vlink satu " size="20"></TD></TR>
<TR> <TD width="24%" height="22">Heading1</TD> <TD
width="76%" height="22"><INPUT name=h1 value="header satu "
size="20"></TD></TR> <TR> <TD width="24%"
height="22">Paragraph1</TD> <TD width="76%" height="22">
<INPUT name=p1 value="paragraph satu " size="20"></TD></TR>
<TR> <TD width="76%" height="26"> <INPUT
onclick="endar(tit.value, src.value, alt.value, vlink1.value, link1.value,
h1.value, p1.value)" type=button value="Send
Data"></TD></TR></TBODY></TABLE></FORM></BODY></HTML>
About the Author
Endar WS is a SEO copywriter. Visit his site at
http://www.2search-engine-optimization.info for more info about
effective search engine optimization that makes your site listed on the top of
free search engines.
|