| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jun 2003
Posts: 6
![]() | Form emailing How can i create a form where when it is submitted, the results will be emailed to me. I have no cgi-bin, using brinkster and i dont want to pay for one...I am also using HTML and unless someone has an easy explanation for another method to code with i cant use it. Thanks wh0die |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jun 2003 Location: California
Posts: 245
![]() | Something like this: Code: <form method="post" enctype="text/plain" action='mailto:your email address'> <input type="hidden" name="To" value="your subject for email"> Put question # 1 here:<br> <input type="text" name="question:" size="50" maxlength="100"><br><br> Put question # 2 here:<br> <input type="text" name="question:" size="50" maxlength="100"><br><br> Put question # 3 here:<br> <input type="text" name="question:" size="50" maxlength="100"><br><br> Put question # 4 here:<br> <input type="text" name="question:" size="50" maxlength="100"><br><br> Put something here that requires a long answer:<br> <textarea name="Subject of text area" wrap=physical rows=7cols=46></textarea> <br><br>A yes no question goes here:<br> <input type="radio" name="your question1"value="Yes">Yes<BR> <input type="radio" name="your question1"value="No">No<br> <br><br>A yes no question goes here:<br> <input type="radio" name="your question2"value="Yes">Yes<BR> <input type="radio" name="your question2"value="No">No<br><br> <input type="submit" value="Submit"><img src="spacer.gif" width=5 height=1 alt="spacer"> <input type="reset" value="Try again"></form>
__________________ --Alpha |
| |
| | #6 (permalink) |
| NamePros Regular Join Date: Sep 2002 Location: Canada
Posts: 481
![]() | its appears so. I believe you must have something a little more advanced than simple html support.
__________________ Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night" |
| |
| | #9 (permalink) |
| NamePros Regular Join Date: Sep 2002 Location: Canada
Posts: 481
![]() | I'm not to sure, but i would think the technology involved in getting the info from your site to the 3rd party would be the same technology used in getting your info from your site to your email without the 3rd party... so again, i'd believe you would need another form of code support.. but i could be wrong.
__________________ Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night" |
| |
| | THREAD STARTER #10 (permalink) |
| New Member Join Date: Jun 2003
Posts: 6
![]() | If its a different code thats fine, as long as i can input it into the page i have right now. Is there some sort of file i can upload onto my file manager that could read the form data and then email it to me? |
| |
| | #11 (permalink) |
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() | Yes if you're only using html then what Alpha posted is pretty much what you're limited to. It's really no different than using the mailto: command in a link. ????: NamePros.com http://www.namepros.com/programming/14934-form-emailing.html This may work out for you though http://www.mcfedries.com/mailform/registration.asp . There's quite a few free third party form processing scripts that you can use on your own page out there actually. ![]() By the way, I moved this to the correct forum. We try to keep this forum for posting tutorials and responding to those tutorials. |
| |