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, 36 views)
andreab35 is offline   0 Reply With Quote
Old Dec 30, 2008, 08:33 PM   #2
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
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

Similar Threads
thread Thread Starter Forum Replies Last Post
Configuring USB 3? ayres Mac Peripherals 8 May 28, 2013 11:37 AM
Configuring ipfw on OS X ghostpaladin OS X 17 Jan 25, 2013 12:53 AM
Help with configuring MBA AdrainSingapore MacBook Air 18 Dec 3, 2012 06:30 PM
Help configuring a joystick kony5669 Mac and PC Games 0 Sep 29, 2012 08:38 PM
Help configuring network whoathere Mac Peripherals 2 Aug 27, 2012 04:39 PM

Forum Jump

All times are GMT -5. The time now is 01:20 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC