Solved

FormMail

Posted on 2000-05-02
4
164 Views
Last Modified: 2010-04-07
I'm trying to use Matther Wright's "Form Mail" to get my response page to work.  

I have lots of programming experience, however am new to Dreamweaver am and not sure exactly all the steps I need to do to get this configured.

For example:
I need to make sure that $mailProg variable is pointing to the correct path (I'm hosted by mindspring and will find out the path...) but how do I change/define this in Dreamweaver?
(same question for $referers variable.

Where and how do I assign the actions to the form.  (I clicked on form and saw how I can add one action to form.. and have download the java scripts.)

Any additional info will be great.

Kathy
0
Comment
Question by:KathyBrowning
  • 3
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
Comment Utility
Hi there,
erm..there is no javascript involved..its cgi(perl script)

you have to put formmail.cgi in your cgi-bin folder of your webserver  

example of use.
start dreamweaver and start a new page.
add a form .
view the html it will look like this:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form method="post" action="">
</form>
</body>
</html>


now change the html to look like:


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form action="/cgi-bin/FormMail.cgi">
<input type="hidden" name="recipient" value="enquiries@somewhere.com">
<input type="hidden" name="subject" value="somewhere E-Mail">
<input type="hidden" name="redirect" value="http://www.somewhere.com/thankyou.html">
</form>
</body>
</html>

change the "somewhere.com" lines to suit your name then you can design your form as normal ..
ps
i guess you have already but check first that your webserver host suports cgi or it wont work..

Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
ps
when making your form set the names of the feilds to something good like instead of putting textbox on form and calling it "textbox1" ,call it
"email address" etc..
this is how it comes back in the email and makes easier to read.
after some practice at it youll see what i mean.
0
 

Author Comment

by:KathyBrowning
Comment Utility
Thanks, I haven't had a chance to try this but will grade this by the end of the week.

0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
hi,
 did you get it to work ok?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now