mailto
-----
| Author | Message | |
|---|---|---|
|
assiejack |
||
| Fri Nov 30, 2007 6:15 pm Post subject: mailto | ||
|
its been a while Thoul hope all is well.
My problem is not getting all fields submitted when i try my friends link html code out. I have no access to .php as this is a free forum hosts so hence why i,m using html. If you look at this page http://testhtml.myfastforum.org/final.html I am trying to make a friends link work using the persons default mail program example yahoo,google. The problem i am having is only the subject shows and the body, the comments and the email address do not show. What i would like is that when they enter their details the to field is all ready submitted as well as the comments. The code i,m using is this. Code: <form post="" action="mailto:?subject=check this site out&BodyText;Comments; method=" name="eMailer">
<h2 align="center">Tell your friends about Our Site!</h2> <center> <br /> <br /> <table width="50%" border="0"> </table> <table width="50%" border="0"> <tbody> <tr> <td width="38%"><strong>Friends Email Address:</strong></td> <td width="62%"><input type="text" size="40" name="FriendsEmail" /></td> </tr> <tr> <td width="100%" colspan="2"><center><em>Their email address, e.g. username@domain.com</em></center></td> </tr> <tr> <td width="38%"><strong>Your Email Address</strong></td> <td width="62%"><input type="text" size="40" name="YourEmail" /></td> </tr> <tr> <td width="100%" align="center" colspan="2"><center><em>Your email address, e.g. username@domain.com</em></center></td> </tr> <tr> <td width="38%"><strong>Subject</strong></td> <td width="62%"><input type="text" value="Check out this page @ testhtml.myfreeforum.org" size="40" name="SubJect" /></td> </tr> <tr> <td width="38%"><strong>Comments</strong></td> <td width="62%"> </td> </tr> <tr> <td width="100%" colspan="2"><textarea cols="58" name="Comments" rows="6">Leave your message here </textarea></td> </tr> </tbody> </table> <br /> <input type="submit" name="btnSubmit" value="Send the Info!" /></center> <br /> </form> Anyhelp would be great on this one, if i simple put Mailto as the action = then i get the comments and email address all in the body but in basic none readable form. |
||
|
Thoul |
||
| Mon Dec 03, 2007 4:31 pm Post subject: Re: mailto | ||
|
Quote: What i would like is that when they enter their details the to field is all ready submitted
As far as I know, that's not possible with simple HTML. Their email address would have to be in the form action after mailto:. Since you can't use PHP, you might be able to use Javascript to get the results you want. I haven't looked into Javascript's mailing and form related abilities enough to help you with that, sadly. |
||
Page 1 of 1