Jump to content

Help with HTML email form


Wankness123

Recommended Posts

<form action='mailto:austinmaroney@live.com' method='POST' enctype='text/html'>
<table>
<tr>
<td>Bobba Name:</td>
<td><input type='text'></td>
</tr>
<tr>
<td>Your Name:</td>
<td><input type='text'></td>
</tr>
<tr>
<td>Your Age:</td>
<td><input type='text'></td>
</tr>
<tr>
<td>Your Email:</td>
<td><input type='text'></td>
</tr>
<tr>
<td>Why you?:</td>
<td><input type='text'></td>
</tr>
</table>
<center><input type='submit' value='Submit'></center>
</form>

 

I tried this and it didnt work??

 

how can i make it work thanks.!

Link to comment
Share on other sites

none of the text fields in your html script above have name attributes instead of just

 

<input type='text'>

 

try something like this

 

<input type='text' name='myname'>

 

although i dont know how it would work becuase you would need an address to send the mail so im not too sure

Link to comment
Share on other sites

The way you are using will only show the input boxes and will not email them.

 

To create a "Click HERE to email me" use the following code:

 

Click <a href=mailto:austinmaroney@live.com>here</a> to email me

 

The way you are using requires a bit of php on the side, but here is a outline on creating the HTML side of the form:

 

<form action="send_mail.php" method='POST' encrypt='text/html'>
<table>
<tr>
<td>Bobba Name:</td>
<td><input type="text" name="bobba_name"></td>
</tr>
<tr>
<td>Your Name:</td>
<td><input type="text" name="your_name"></td>
</tr>
<tr>
<td>Your Age:</td>
<td><input type="text" name="your_age"></td>
</tr>
<tr>
<td>Your Email:</td>
<td><input type="text" name="your_email"></td>
</tr>
<tr>
<td>Why you?:</td>
<td><input type="text" name="why_you"></td>
</tr>
</table>
<center><input type="submit" value="Submit"></center>
</form>

 

If there is a spelling issue, my bad ;P

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.