[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 06-29-2003, 04:54 PM   #1 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


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
wh0die is offline  
Old 06-29-2003, 04:58 PM   #2 (permalink)
NamePros Regular
 
Join Date: Jun 2003
Location: California
Posts: 249
401.00 NP$ (Donate)

Alpha is an unknown quantity at this point


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
Alpha is offline  
Old 06-29-2003, 05:03 PM   #3 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


that is where the problem lies, when u click the submit button it tries to send the email through outlook which is what i definetly dont want...

thanx though
wh0die is offline  
Old 06-29-2003, 05:04 PM   #4 (permalink)
NamePros Regular
 
Join Date: Jun 2003
Location: California
Posts: 249
401.00 NP$ (Donate)

Alpha is an unknown quantity at this point


Oh so you want it to be sent from the browser?
__________________
--Alpha
Alpha is offline  
Old 06-29-2003, 05:13 PM   #5 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


if possible yes
wh0die is offline  
Old 06-29-2003, 05:14 PM   #6 (permalink)
NamePros Regular
 
Join Date: Sep 2002
Location: Canada
Posts: 498
834.00 NP$ (Donate)

DarkDevil is an unknown quantity at this point


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"
DarkDevil is offline  
Old 06-29-2003, 05:14 PM   #7 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


is there some sort of 3rd party place to have the script sent then forwarded to my email or something...
wh0die is offline  
Old 06-29-2003, 05:16 PM   #8 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


i just need a way for it to bypass outlook express, for people who dont have it, etc.
wh0die is offline  
Old 06-29-2003, 05:18 PM   #9 (permalink)
NamePros Regular
 
Join Date: Sep 2002
Location: Canada
Posts: 498
834.00 NP$ (Donate)

DarkDevil is an unknown quantity at this point


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"
DarkDevil is offline  
Old 06-29-2003, 05:20 PM   #10 (permalink)
New Member
 
Join Date: Jun 2003
Posts: 6
9.00 NP$ (Donate)

wh0die is an unknown quantity at this point


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?
wh0die is offline  
Old 06-29-2003, 05:38 PM   #11 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


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.

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.
deadserious is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:11 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85