Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colect info and send ?

Status
Not open for further replies.

phpdude

Programmer
May 10, 2003
50
GB
<html>

<head>
<meta http-equiv=&quot;Content-Language&quot; content=&quot;fr&quot;>
<meta name=&quot;GENERATOR&quot; content=&quot;Microsoft FrontPage 5.0&quot;>
<meta name=&quot;ProgId&quot; content=&quot;FrontPage.Editor.Document&quot;>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;>
<title>Welcome to</title>
</head>

<body>

<p align=&quot;center&quot;><span lang=&quot;en-us&quot;><b><font size=&quot;5&quot;>Welcome</font><font size=&quot;5&quot;>
to blah&nbsp; Application Form</font></b></span></p>
<p>&nbsp;</p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>Please, read the rules and if you accept
them answer the few questions.</span></p>
<p align=&quot;justify&quot;>&nbsp;</p>
<div style=&quot;border-style: solid; padding: 5&quot;>
<p align=&quot;center&quot;>&nbsp;</p>
</div>
<form method=&quot;POST&quot; action=&quot;--WEBBOT-SELF--&quot;>
<!--webbot bot=&quot;SaveResults&quot; U-File=&quot;fpweb:///_private/form_results.csv&quot; S-Format=&quot;TEXT/CSV&quot; S-Label-Fields=&quot;TRUE&quot; --><p align=&quot;center&quot;>
<span lang=&quot;en-us&quot;><br>
<input type=&quot;checkbox&quot; name=&quot;C1&quot; value=&quot;ON&quot;><i><b>Check this box if you accept
#NeTerZ-lounge Rules</b></i></span></p>
</form>
<p align=&quot;center&quot;>&nbsp;</p>
<p align=&quot;center&quot;>&nbsp;</p>
<form method=&quot;POST&quot; action=&quot;--WEBBOT-SELF--&quot;>
<!--webbot bot=&quot;SaveResults&quot; U-File=&quot;fpweb:///_private/form_results.csv&quot; S-Format=&quot;TEXT/CSV&quot; S-Label-Fields=&quot;TRUE&quot; --><p align=&quot;justify&quot;>
<span lang=&quot;en-us&quot;>1. What is your type of line?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>Dialup</option>
<option>DSL</option>
<option>Cable</option>
<option>Dedicated (like a T1)</option>
</select></span></p>
</form>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>2. Do you have a router or a firewall?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>Oui</option>
<option>Non</option>
</select></span></p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>&nbsp;&nbsp;&nbsp; - If you have a router
or a firewall, can you change its settings?&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>Oui</option>
<option>Non</option>
</select></span></p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>2. How much a day can you serve?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>All day long</option>
<option>Few hours a day</option>
</select></span></p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>3. How much a week can you serve?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>Every Day</option>
<option>Every Day Except week-end</option>
<option>Only Week-End</option>
</select></span></p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>4. What will you use as server soft?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select size=&quot;1&quot; name=&quot;D1&quot;>
<option selected>.GET</option>
<option>XDCC</option>
<option>FSERVER</option>
<option>FTP</option>
</select></span></p>
<p align=&quot;justify&quot;>&nbsp;</p>
<p align=&quot;justify&quot;><span lang=&quot;en-us&quot;>Once you have filled this form, please
save it on your HD and email it to . We will answer you as fast as possible.</span></p>

</body>

</html>

How do i add a button to this to collect the info that you have selected and send to a email ?
 
You can change the ACTION of your form to
<FORM METHOD=&quot;post&quot; ACTION=&quot;mailto:your@email.com&quot; ENCTYPE=&quot;text/plain&quot; onSubmit=&quot;return confirmSend()&quot;>

and you can add a confirmation box so the user can confirm that he wants to send it...

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!--
function confirmSend() {
return confirm(&quot;Click OK to mail this information&quot;);
}
// -->
</SCRIPT>

Hope this may help...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top