Button/email help...ASAP please

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Tanner8

New Member
Impact
0
Hey,

I made a thing with feilds such as name and age. There is also a submit button. I want it to email email/removed what ever the user put into those feilds. EX. If they put

name: Hello

age: 24

Submit

I want it to automatically email hello and 24 to me right when they press submit. Thanks




Here is my code. Please add to this code what is needed.


HTML:
<form action='http://www.whatever.com'method='post'><table align=center width=300 cellpadding=10 cellspacing=0><input type='hidden' name='destination' value='http://www.whatever.com'><tr><td bgcolor='#ffeeaa'><b>Password</b></td><td bgcolor='#ffffcc'><input type='text' name='Name' value='' size=12 maxlength=20 onFocus='this.select()'></td></tr><tr><td align=center colspan=2 bgcolor='#ffeecc'><input type='submit' value='Submit'></td></tr></table>




Everything in there works fine but I just wnat it to email me what anyone puts in there. THanks :)
 
Last edited by a moderator:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Something like this??

<table width="100%" border="0" align="center">
<form align="center" action="mailto:?subject=The subject of the mail" method="post" enctype="text/plain">
<tr>
<td class="row2" align="right" width="40%">Name:</td>
<td class="row2" align="left" width="60%"><input type="text" name="Name" size="30"></td>
</tr>
<tr>
<td class="row2" align="right" width="40%"><p>Age:</td>
<td class="row2" align="left" width="60%"><input type="text" name="Age" size="30"></td>
</tr>
<tr>
<td class="row1" align="right" width="40%">Comments:</td>
<td class="row1" align="left" width="60%"><textarea name="extraComments" rows="6" cols="25" wrap="VIRTUAL"></textarea></td>
</tr>
<tr>
<td align="center" colspan="2" width="100%"><input type="submit" name="submit" value="Send"></td>
</tr>
</p>
</form>
</table>
 
Last edited by a moderator:
0
Close
Thats good but does it have to do all of that asking if it wants to mail and stuff like that. I just want it to automatically mail when you press submit. Thanks :)

I dont think it will be like that. When I did it before it was somthing with a hidden value and stuff :)
 
0
Close
anyone?
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back