There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen blue screen of death boot bsod computer connection crash css dell display driver drivers email error explorer firefox firefox 3 hard drive internet internet explorer itunes laptop lcd malware monitor network networking outlook outlook 2003 outlook express printer problem problems ram router security slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Form Button Submit Help


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Shaun3766's Avatar
Junior Member with 5 posts.
 
Join Date: Feb 2006
Experience: Beginner
20-Feb-2006, 02:23 PM #1
Form Button Submit Help
hello everyone, I have started playing about with forms and submit buttons - Im trying to make a basic enquiry form, this is what I have so far:

Quote:
<form id="form1" name="form1" method="post" action="">
<p>
<label>
<input type="radio" name="Status" value="radio" />
Mr</label>
<label>
<input type="radio" name="Status" value="radio" />
Mrs</label>
<label>
<input type="radio" name="Status" value="radio" />
Miss</label>
<label>
<input type="radio" name="Status" value="radio" />
Ms</label>
</p>
<p>
<label>First Name:
<input name="textfield" type="text" value="" />
</label>
</p>
<p>Surname:
<input type="text" name="textfield2" />
</p>
<p>Type of Query
<select name="Type of Query">
<option value="Select">Please Select Your Type of Query</option>
<option value="Select">Please Select Your Type of Query 2</option>
<option value="Select">Please Select Your Type of Query 3</option>
<option value="Select">Please Select Your Type of Query 4</option>
</select>
</p>
<p>
<label></label>
<input name="Submit" type="submit" onclick="first_1st_parties@hotmail.co.uk" value="Submit" />
</p>
</form>
What I am wanting to know is, can someone tell me how I can make the 'Submit' button send an email to my email account without opening any programs to send the email, such as outlook express.

any help would be appreciated

Thanks, Shaun

Added 21-02-06 @ 9.56

I was also wondering how I would get the submit button to take me to a new page saying something along the line of 'Your Email has been sent'

Last edited by Shaun3766 : 21-Feb-2006 04:56 AM.
a_k's Avatar
a_k a_k is offline
Senior Member with 111 posts.
 
Join Date: Dec 2005
Experience: Computer Illiterate
21-Feb-2006, 01:03 AM #2
I would also like to know how this is done. So if anybody knows, please help.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Feb-2006, 06:50 AM #3
Not in HTML- you need a serverside language like PHP or Perl.
Shaun3766's Avatar
Junior Member with 5 posts.
 
Join Date: Feb 2006
Experience: Beginner
21-Feb-2006, 08:50 AM #4
any suggestions brendon? as to were to start etc, I am only famailar with html, not sure about php
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Feb-2006, 12:24 PM #5
Do you know if your webhost supports PHP?
Shaun3766's Avatar
Junior Member with 5 posts.
 
Join Date: Feb 2006
Experience: Beginner
21-Feb-2006, 12:53 PM #6
im not sure m8, my forum hoster is fasthosts.co.uk - its the 3.99 one...
~Biker~'s Avatar
Member with 62 posts.
 
Join Date: Dec 2005
Experience: eh?
21-Feb-2006, 01:41 PM #7
Yes it does.


Website features included

* 750 MB Microsoft Windows 2003 web space
* SiteBuilder - easy website creation tool
* 2 FTP accounts
* MatrixStats - website statistics
* Google AdWords - £30 voucher included
* ASP, PHP and Perl CGI scripting

Email features included

* 3 Advanced mailboxes (spam & virus protected)
* 200 Standard mailboxes
* Unlimited email forwarders
* Web mail - send & receive email from anywhere
* SMS text message alerts for new emails
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
21-Feb-2006, 01:42 PM #8
You can use something like this to email the results
http://webdevfaqs.com/php.php#mailer
tasher's Avatar
Junior Member with 1 posts.
 
Join Date: Mar 2006
Experience: Intermediate
16-Mar-2006, 01:03 PM #9
check out whiz-mail.cc. I use this for a load of small websites.

It is a great service where you pass details via a <form> that does all the handling for you.

You can trial it first, then it is a small fee depending on what you want..

good luck
peril0us's Avatar
Account Disabled with 920 posts.
 
Join Date: Oct 2003
Location: Canada
Experience: God.
16-Mar-2006, 02:03 PM #10
There are tons of free scripts you could load that would do it for you, as long as your host supports them.

If you want a really simple solution that involves no programming check out www.response-o-matic.com.
thecoalman's Avatar
Computer Specs
Distinguished Member with 2,503 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
Experience: What's the shiny red button for? <click>
16-Mar-2006, 03:47 PM #11
You can do it with e-mail but you get not one but two warnings with IE, the reason is so a webpage can't collect your email by "hiding" the form and using it to collect email addresses.... It would just be a matter of making the submit button look like a link

Anyway just use mailto:youremailaddress@yourisp.com as the action value in the first line.

Most likely your server has formmail preinstalled, if so you only have to point it at the script and add a recipient value to the form, there's more here: http://forums.techguy.org/web-develo...ting-form.html
peril0us's Avatar
Account Disabled with 920 posts.
 
Join Date: Oct 2003
Location: Canada
Experience: God.
16-Mar-2006, 06:33 PM #12
Dont use mailto.
thecoalman's Avatar
Computer Specs
Distinguished Member with 2,503 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
Experience: What's the shiny red button for? <click>
17-Mar-2006, 02:51 AM #13
I'm not recommending it, if anything I would discourage it. Warning windows will drive people away.... It can be done though.
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 help people like you solve 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 01:01 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.