![]() |
|
#1
|
|||
|
|||
Mail Form in DreamWeaverHow to design a mail form in Dreamaver.
My concept is A subject column Body 2 buttons Mail to and clear. clear button will clear the text from subject and body and mail button will send the text in subject and body to my email (name@myname.com). My problem is I cannot figgure out how to work with forms in DW. Can anyone help me out here please. |
|
#2
|
||||
|
||||
Re: Mail Form in DreamWeaverDW has a great tutorial help file; it should have a comprehensive section about the creation of web forms, not to mention the many HTML primer sites available (www.htmlgoodies.com).
Is your problem in making the form itself or in the backend code that makes it do something after the email is created? __________________
Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#3
|
||||
|
||||
Re: Mail Form in DreamWeaverIt has been quite a while since the last time I used Dreamweaver, and I don't remember what can be done with it other than writing the HTML for you.
A basic HTML document looks something like this: HTML Code:
The actual form (markup), like this: HTML Code:
Putting them together, you would get: HTML Code:
|
|
#4
|
|||
|
|||
Re: Mail Form in DreamWeaverThanks guys for the replys and help.
I always have trouble writing with codes.... I will try these codes and see how and where I go from it.. will post you soon enough... once again thanks alot |
|
#5
|
|||
|
|||
Re: Mail Form in DreamWeaveradmin my friend.
do I need another page. cause when I upload the page and send my msg I was forward to another page of my hosting site saying that a page is missing. Whats missing. I usually design normal websites play with basic animation and thats about it. but this time I wanna try somthing different. If you can tell me whats missing and whats the concept behind it would be simply awsome on your part. Thanks once again for the codes. They were exactly what I was looking for. Thanks once again. b |
|
#6
|
||||
|
||||
Re: Mail Form in DreamWeaverYou will need some kind of server-side scripting language to process the form and actually send the email to yourself.
This can be PHP, ASP, JSP and a host of other languages supported by your web server. The most commonly supported scripting language is of course PHP. In the markup example above, you will see this line: <form id="formContactMe" name="contactme" action="/process-contactme.php" method="post" style="width:410px;"> Notice the value for action=? It's process-contactme.php, a PHP (script) file. You can paste this to a text document, and save it as process-contactme.php and upload it to your server. process-contactme.php PHP Code:
Now that you have both the form web page (assume you saved it as contact.html) and the PHP file uploaded, you can view contact.html through your browser, fill-in the form and hit send. You should see something like this and with the values you submitted: Code:
Where ... is the information you submitted. |
|
#7
|
|||
|
|||
Re: Mail Form in DreamWeaverHi is it possible for you to look at the codes cause I am still facing problem.
???? Can I post you all codes. |
Recent GIDBlog
A Week in Kuwait by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML Form to PHP File - Help Requested | vigilantweather | MySQL / PHP Forum | 15 | 07-Aug-2006 19:22 |
| PHP form needs validation | jabesign | MySQL / PHP Forum | 16 | 05-Jan-2005 00:23 |
| help with form | orbitel | MySQL / PHP Forum | 11 | 21-Jan-2004 15:29 |
| Why doesnt my form work correctly? | rhino1616 | Web Design Forum | 2 | 06-Nov-2003 17:21 |
| How to encrypt mail sent by your feedback form? | JdS | Web Hosting Forum | 4 | 30-Aug-2002 07:51 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The