There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
adware audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freeze freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse network networking outlook 2007 power printer problem ram restart router screen slow sound trojan usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Forms - submitting


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
cammi's Avatar
Senior Member with 574 posts.
 
Join Date: Jan 2003
18-Sep-2003, 01:21 AM #1
Forms - submitting
Well... i have create one that kind of works. When I was teseting it, I hit the "submit" button, it automatically goes to my e-mail address so I can send the comment. How do I stop it doing this?
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
18-Sep-2003, 05:16 PM #2
Change the action in the <form> tag to what you want it to do.
cammi's Avatar
Senior Member with 574 posts.
 
Join Date: Jan 2003
21-Sep-2003, 02:08 AM #3
i meant, what should i change the code to?
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Sep-2003, 10:34 AM #4
What do you want it to do?
cammi's Avatar
Senior Member with 574 posts.
 
Join Date: Jan 2003
21-Sep-2003, 10:45 AM #5
i want the feedback to go to an e-mail address... (but i dont want them to have to send it via their e-mail, after pressing submit). or maybe you know of a better way of doing it?
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Sep-2003, 10:53 AM #6
You need a script to send the email. Does your webhost support a server-side language such as PHP, ASP, CGI, etc?
cammi's Avatar
Senior Member with 574 posts.
 
Join Date: Jan 2003
21-Sep-2003, 12:46 PM #7
Erm... maybe? probably? I'm using Angelfire to host the site at the moment, but have plans to move it to a proper domain name.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Sep-2003, 01:58 PM #8
This is for AngelFire only.
Create the form in HTML.
Set the form tag to:
<FORM ACTION="/cgi-bin/script_library/form_handler_mail" METHOD=POST>
Use a hidden form field to specify your email addy
<INPUT TYPE="hidden" NAME="email_to" VALUE="username@somewhere.com">
and another hidden field to specify where they will be redirected after submitting the form
<INPUT TYPE="hidden" NAME="end_display" VALUE="http://www.YOURLINK.com">
__________________
-Brendan
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:20 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.