|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
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;"> <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> Ignore how bad it kind of looks, I'm not done with the page yet. ![]() Any help is appreciated! Thank you so much! |
|
|
|
0
|
|
|
#2 |
|
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. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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.







Linear Mode

