Forums

This topic is locked

Forms!!!!

Posted 03 Oct 2004 23:36:47
1
has voted
03 Oct 2004 23:36:47 rob cooney posted:
Hi Guys, I am having difficulty with forms, I have generated some basic code to enable some information (text fields and check boxes in a table) to be sent from a site I am working on, however, the email seems to send and I actually recieve the email but without any of the form data. Is this a simple problem???

RC

Replies

Replied 03 Oct 2004 23:50:34
03 Oct 2004 23:50:34 Rene Bandsma replied:
We cannot tell if its a simple problem. If possible please include some relevant code.
Replied 04 Oct 2004 20:35:05
04 Oct 2004 20:35:05 rob cooney replied:
The code I have used is as follows: the form shows ok in my browser and I recieve a message through microsoft indicating that I am sending an email which reveals my address to the recipient. the email sends but there is no information attached. I am fairly new to forms and understand there are a number of ways to send them. I am looking for simplicity really, the ability to check some boxes and write some text.

<p>THIS IS THE TEST FORM</p>
<form name="form1" method="post" action="mailto: ?no_signature=true" ENCTYPE="text/plain">
<table width="100%" border="0">
<tr>
<td width="19%">Name</td>
<td width="40%">
<input type="text" name="name">
</td>
<td width="41%"> </td>
</tr>
<tr>
<td width="19%">Address</td>
<td width="40%">
<textarea name="address" cols="40"></textarea>
</td>
<td width="41%"> </td>
</tr>
<tr>
<td width="19%">would you like more informaiton</td>
<td width="40%">
<input type="checkbox" name="checkbox" value="checkbox">
yes </td>
<td width="41%">
<input type="checkbox" name="checkbox2" value="checkbox">
no </td>
</tr>
</table>
<INPUT TYPE="submit" VALUE="Submit This Form">
</form>

RC
Replied 04 Oct 2004 20:43:56
04 Oct 2004 20:43:56 Rene Bandsma replied:
I have no idea what the problem is. The code works perfectly, I've tested it on my machine (with my own e-mailaddress) and I receive the e-mail including the content. The content is as follows:

name=test
address=test
checkbox=checkbox
checkbox2=checkbox

Maybe you should change this line of code:
<pre id=code><font face=courier size=2 id=code>
&lt;form name="form1" method="post" action="mailto: ?no_signature=true" ENCTYPE="text/plain"&gt;
</font id=code></pre id=code>
in:
<pre id=code><font face=courier size=2 id=code>
&lt;form name="form1" method="post" action="mailto: " ENCTYPE="text/plain"&gt;
</font id=code></pre id=code>

Don't know what the no_signature="true" is?! :S

Reply to this topic