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 Oct 31, 2006, 08:29 PM   #1
ygibb
macrumors newbie
 
Join Date: Jun 2006
Dreamweaver Question - Forms?

Now this will sound pretty elementry to some folks. I'm just starting Dreamweaver, and I'm trying to develop forms. I have everything down except the "Action" needed to process the entered fields and email the results to me. I know about the Hidden Fields which tell where to email the results and what page to bring up once "submit" is pressed...

Where do you create the app that will process the info? How do I? Is that the Cold Fusion? Is it just uploaded to my host?

Help?!
ygibb is offline   0 Reply With Quote
Old Oct 31, 2006, 09:06 PM   #2
rogersmj
macrumors 68020
 
rogersmj's Avatar
 
Join Date: Sep 2006
Location: Indianapolis, IN
This is a very open-ended question. There are a number of options to choose from. I do everything in PHP, and I recommend you avoid ColdFusion because the number of hosts that support it is very small (possibly because the server for it only runs on Windows, last I heard). Regardless, you're going to need some sort of server-side script to handle and process the form data. There are tons and tons of examples around the web on how to do one in PHP, for example. Check those out and if you have more specific questions I'd be happy to help.
__________________
Me: 27" iMac 2.7 12GB 128gbSSD+1tbHDD | 15" MBP 2.8 8GB 500GB | iPhone 4S 32GB white | iPad 3 16GB 4G black
Wife: 13" MacBook Air 1.86 2GB 128GB | iPhone 4 16GB black | iPad 2 16GB white
rogersmj is offline   0 Reply With Quote
Old Oct 31, 2006, 09:12 PM   #3
CanadaRAM
Contributor
 
CanadaRAM's Avatar
 
Join Date: Oct 2004
Location: On the Left Coast - Victoria BC Canada
Quote:
Originally Posted by ygibb View Post
Now this will sound pretty elementry to some folks. I'm just starting Dreamweaver, and I'm trying to develop forms. I have everything down except the "Action" needed to process the entered fields and email the results to me.
Ask your host. Typically, most shared Web servers have one or another standard forms processor installed. The filenames, locations and commands will be specific.
__________________
Expert
Ex = former, no longer. Spurt = a leak, esp. when caused by water pressure. Expert = a has-been drip under pressure.
CanadaRAM is offline   0 Reply With Quote
Old Oct 31, 2006, 09:12 PM   #4
nightelf
macrumors 6502
 
Join Date: Mar 2003
You dont need to have a hidden field to set to which email send the form. You can have that part in the script that process the form. This way is more private.

A PHP script if the best option. You can find some free scripts on Internet. You only need to modify the script to include your fields, set the email and upload.
nightelf is offline   0 Reply With Quote
Old Nov 1, 2006, 05:12 PM   #5
ygibb
Thread Starter
macrumors newbie
 
Join Date: Jun 2006
Thanks for the quick responses! How do I create a php script? Is that just a simple text file with a .php extension? Is there a php creator?
ygibb is offline   0 Reply With Quote
Old Nov 1, 2006, 05:29 PM   #6
rogersmj
macrumors 68020
 
rogersmj's Avatar
 
Join Date: Sep 2006
Location: Indianapolis, IN
PHP can be written in any basic text editor, but it has to be executed on a server that has the PHP parser/engine on it. If you want to learn it, just Google search for a tutorial. There's millions. It's literally the most popular scripting language on the web. In your case, you could easily find a pre-made emailing script and just change a couple variables to correspond to your form.
__________________
Me: 27" iMac 2.7 12GB 128gbSSD+1tbHDD | 15" MBP 2.8 8GB 500GB | iPhone 4S 32GB white | iPad 3 16GB 4G black
Wife: 13" MacBook Air 1.86 2GB 128GB | iPhone 4 16GB black | iPad 2 16GB white
rogersmj is offline   0 Reply With Quote
Old Nov 1, 2006, 09:21 PM   #7
ygibb
Thread Starter
macrumors newbie
 
Join Date: Jun 2006
I usually use Yahoo as my web host. Looking closer, Yahoo Smallbusiness web hosting actually has a PHP editor on it. Ha! There I go! I've tested a few. Unfortunately, I'm not getting the emails once submitted. I'm changing the email variable to my address, but still not coming thru. I'm sure I'll get it eventually. I'm probably missing something obvious.

Is there anyway you could show me an example here if I wanted the fields:

Name:
Address:
Email:

and results to "ygibb@yahoo.com" If I had a good example that's all I'll need to move forward.

Steve
ygibb is offline   0 Reply With Quote
Old Nov 1, 2006, 09:27 PM   #8
CanadaRAM
Contributor
 
CanadaRAM's Avatar
 
Join Date: Oct 2004
Location: On the Left Coast - Victoria BC Canada
Quote:
Originally Posted by ygibb View Post
I usually use Yahoo as my web host. Looking closer, Yahoo Smallbusiness web hosting actually has a PHP editor on it. Ha! There I go! I've tested a few. Unfortunately, I'm not getting the emails once submitted. I'm changing the email variable to my address, but still not coming thru. I'm sure I'll get it eventually. I'm probably missing something obvious.

Is there anyway you could show me an example here if I wanted the fields:

Name:
Address:
Email:

and results to "ygibb@yahoo.com" If I had a good example that's all I'll need to move forward.

Steve
http://help.yahoo.com/help/us/webhosting/php/
http://help.yahoo.com/help/us/webhosting/addons/forms/
__________________
Expert
Ex = former, no longer. Spurt = a leak, esp. when caused by water pressure. Expert = a has-been drip under pressure.
CanadaRAM is offline   0 Reply With Quote
Old Nov 1, 2006, 09:37 PM   #9
rogersmj
macrumors 68020
 
rogersmj's Avatar
 
Join Date: Sep 2006
Location: Indianapolis, IN
Well, the most basic way to test your server to make sure it can send mail properly is to put this single line in a PHP file and then access it through a browser:

PHP Code:
<? mail("youremail@yourdomain.com","test message","This is a test"); ?>
If that doesn't work, then something's wrong with your server.

If that does work, then you can continue on to processing form variables.
__________________
Me: 27" iMac 2.7 12GB 128gbSSD+1tbHDD | 15" MBP 2.8 8GB 500GB | iPhone 4S 32GB white | iPad 3 16GB 4G black
Wife: 13" MacBook Air 1.86 2GB 128GB | iPhone 4 16GB black | iPad 2 16GB white
rogersmj is offline   0 Reply With Quote
Old Nov 2, 2006, 06:27 PM   #10
ddekker
macrumors regular
 
Join Date: Sep 2006
Location: Michigan
php

Look arounf hotscripts.com for some script that does what you need and then you can examine their code and learn from it...

good luck and have fun

DD
__________________
looking for help on my switch to mac
http://trialsoftheswitch.com
ddekker 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
Dreamweaver Question, and Help Sweetfeld28 Web Design and Development (archive) 4 Dec 8, 2004 04:54 PM
Simple Dreamweaver question...table alignment Bhennies Web Design and Development (archive) 3 Oct 21, 2004 11:58 AM
Dreamweaver question Albone Web Design and Development (archive) 3 Oct 15, 2004 08:25 PM
basic dreamweaver question unregbaron Web Design and Development (archive) 2 Sep 28, 2004 03:00 AM
Dreamweaver Question wsteineker Mac Help/Tips 11 Jun 12, 2002 04:49 PM


All times are GMT -5. The time now is 01:10 AM.

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