Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 30, 2008, 07:50 PM   #1
andreab35
macrumors 6502a
 
andreab35's Avatar
 
Join Date: May 2008
Location: USA
I Really Need Help on Configuring a Form in Dreamweaver CS4

Hi guys!

Alright, I asked not too long ago about a software for website development that was just a point, click, and drag kind of environment.

Well- I have Dreamweaver, and I managed to take a stab at it, and I have to say I'm not doing too bad... I think.

Anyways, I'm building a website for a family member's restaurant. It needed a lot of help.

One thing I am really stuck on is the submit form.
All the rest is fine and typed out in the form.
But I don't know how to configure the submit button. When someone clicks the submit button, I want the form to be sent to my email. I've searched everywhere, but I'm wicked confused on how to do this.

Here is the code I have:

Code:
<table border="0" cellspacing="0" cellpadding="0" style="">
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>First name:</strong>
								</td>
								<td height="30" valign="top"><input type="text" style="width:222px; height:21px; background-color:#FFFFFF" class="text_d"></td>
							  </tr>
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>Last name:</strong>
								</td>
								<td height="30" valign="top"><input type="text" style="width:222px; height:21px; background-color:#FFFFFF" class="text_d"></td>
							  </tr>
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>E-mail:</strong>
								</td>
								<td height="30" valign="top"><input type="text" style="width:222px; height:21px; background-color:#FFFFFF" class="text_d"></td>
							  </tr>
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>Phone:</strong>
								</td>
								<td height="30" valign="top"><input type="text" style="width:222px; height:21px; background-color:#FFFFFF" class="text_d"></td>
							  </tr>
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>Address:</strong>
								</td>
								<td height="30" valign="top"><input type="text" style="width:222px; height:21px; background-color:#FFFFFF" class="text_d"></td>
							  </tr>
							  <tr>
								<td valign="top" class="text" width="74" style="padding-top:4px ">
									<strong>Message:</strong>
								</td>
								<td height="30" valign="top"><textarea style="width:222px; height:108px; overflow:auto; background-color:#FFFFFF" class="text_d"></textarea>
								<div align="right" style="margin-right:0px; margin-top:10px ">
									<input type="reset" value="" style="cursor: hand; cursor: pointer; width:52px; height:20px; background-image: url(images/clear.jpg); border: 0px none;"> &nbsp;
									<input type="submit" value="" style="cursor: hand; cursor: pointer; width:52px; height:20px; background-image: url(images/send.jpg); border: 0px none;">
								</div>
								</td>
							  </tr>
							</table>
I have the file attached where the form is. Hopefully it loads (I had to put it in a .zip file, sorry).
Ignore how bad it kind of looks, I'm not done with the page yet.

Any help is appreciated! Thank you so much!
Attached Files
File Type: zip Index-3 contact us.zip (1.8 KB, 31 views)
andreab35 is offline   0 Reply With Quote
Old Dec 30, 2008, 08:33 PM   #2
angelwatt
Demi-God (Moderator emeritus)
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: Ohio
Well, you have a table, not a form. You need the form tag where you place the action, which gets executed when a person hits the submit button. You'll also need to use some server side processing to handle the emailing after it has been submitted. You won't be able to do it with just HTML. PHP is a common language to use to process a form and email the contents. There's plenty of example scripts if you use Google.

More info on forms
http://www.w3schools.com/html/html_forms.asp

Last edited by angelwatt; Dec 30, 2008 at 08:40 PM.
angelwatt is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Really need help on data structures MACloop iPhone/iPad Programming 4 Aug 3, 2010 04:36 AM
I Really Need Help On This Mac Pro Choice!!! bm2amb Mac Pro 16 Mar 19, 2009 11:26 PM
I Really need Help on this! (Spotlight) ILOVEMYMBP2.2g Mac Basics and Help 3 Jul 26, 2007 05:41 AM
Really need help on this one... polinho Buying Tips and Advice 1 Dec 9, 2005 12:47 AM
Really need help on what to get with $900 ricgnzlzcr Buying Tips, Advice and Discussion (archive) 17 Jun 21, 2005 06:01 PM


All times are GMT -5. The time now is 11:40 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC