Reply
Submit button
Old 02-07-2005, 04:22 PM Submit button
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 609
Name: Darren
Location: England
Hi hope this is the right place to post this...

I've used a template to create a basic contact form

www.pacustoms.co.uk/form.html

How can i get the button on the bottom to send the details to the email address?

info@pacustoms.co.uk

Cheers
rolda hayes is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-08-2005, 07:00 AM
Ultra Talker

Posts: 377
When you click a submit button data are sent to proccessing script. So procces it, parse it and send it to email. Foe example, if you use PHP? you may use standard mail() function
__________________
andrews_john
www.softwareforhosting.com
andrews_john is offline
Reply With Quote
View Public Profile Visit andrews_john's homepage!
 
Old 02-08-2005, 08:07 AM
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 609
Name: Darren
Location: England
Thanks but i'm not sure what that ment!

Can i just insert a line of php or would i need to create the page in it?
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 02-08-2005, 08:16 AM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
rolda, read the second post in the following thread:

http://www.webmaster-talk.com/showthread.php?t=11008
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 02-09-2005, 05:17 PM
WebcyteDesign's Avatar
Extreme Talker

Posts: 159
Location: Hamilton
I not so great way that works without scripting is to do this to the form tag:

<form action=mailto:your@email.address" method="POST" enctype="text/plain">

This will send the information in the form to your email address without having to do any scripting but it's not exactly neat and nice to look at but at least you'll get it.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Old 02-09-2005, 06:44 PM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Webcyte,

Won't that invoke the user's mail client (e.g., Outlook)? The solution I referenced in the previous thread will present the user with a form then email the content behind the scenes without launching the user's email program. So those are a little different paradigms -- but I like your trick and am definitely going to try it where it could be used.
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 02-10-2005, 10:54 AM
hackySack's Avatar
Extreme Talker

Posts: 150
Location: UK, Derbyshire
Well firstly you need to name your text fields give em a var, so that it can be submitted to the php and then formatted into the email, I would happly help you out with this one, I've got a php script that I have been using for awhile and its real easy to use..... you also wanna put a javascript field verifier too, to prevent the veiwer from accidently submitting the form and leaving blank fields.....
hackySack is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Submit button
 

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14053 seconds with 12 queries