This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > email form data
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| bruhop 2004-08-11, 7:16 pm |
| INFO: Windows 2003 server, IIS 6.0, using ASP
can anyone give me some step-by-step code for creating a form in Dreamweaver
that collects the info and sends the form info to an email address? Please
don't tell me to use Kaosweaver's Kaos Mailer. It didn't work for me and I
didn't get any help from their forum. Unfortunately, the administrators here
are not very helpful to me. they said we don't have a CGI bin on our server.
Anyway I've created a form, I need know how to apply the form action or rather
where to send the form action, and where to upload any extensions if needed
etc..... I don't know if I'm making any sense, pls bare w/ me. here is the html
form code below, then below that ist the kaosmailer.asp code
<form action="kwmailervb.asp" method="post" name="Join Us" id="Join Us">
<p align="right"><span
class="text"><strong><em>Occupation</em></strong><br>
<br>
What type of work do you do?
<input name="typeofwork" type="text" id="typeofwork">
<br>
Name of Employer
<input name="nameofemployer" type="text" id="nameofemployer">
<br>
Job Address
<input name="jobaddress" type="text" id="jobaddress">
<br>
City/State/Zip
<input name="citystatezip" type="text" id="citystatezip">
<br>
I work
<input type="radio" name="fulltime" value="radiobutton">
Full-time
<input type="radio" name="parttime" value="radiobutton">
Part-time<br>
Number of Employees
<input name="numberofemployees" type="text"
id="numberofemployees">
<br>
<textarea name="needunionissues" cols="35" rows="9"
id="textarea2">Please list the issues of why your workplace needs a union
here:</textarea>
<br>
<br>
<strong><em>Contact Information</em></strong><br>
<br>
Name
<input name="namecontact" type="text" id="namecontact">
<br>
Street Address
<input name="contactaddress" type="text" id="contactaddress">
<br>
City
<input name="contactcity" type="text" id="contactcity">
<br>
State/Providence
<input name="contactstate" type="text" id="contactstate">
<br>
Zip
<input name="cotactzip" type="text" id="cotactzip">
<br>
Home Phone
<input name="contactphone" type="text" id="contactphone">
<br>
Pager/Cell Phone
<input name="contactcellpager" type="text"
id="contactcellpager">
<br>
Email Address
<input name="contactemailaddress" type="text"
id="contactemailaddress">
<br>
</span>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
asp code
<%
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = Request.Form("contactemailaddress")
objNewMail.Subject = "join liuna"
objNewMail.To = "lhopkins@liuna.org"
objNewMail.Body = "We need a union becausea:"
objNewMail.Send
Set objNewMail = Nothing
response.redirect "/marketshare/joinus/thanks.html"
%>
| |
| bruhop 2004-08-11, 7:16 pm |
| We are using ASP serverside script. if uploading the kwmailervb.asp means did I
copy this page on the server in the same place as the form page is, than yes.
When I submit the form I get a "http 500 error-page cannot be found or
displayed. Also not that when I hit the submit button, the kwmailervb.asp
address is in the address line, but the page is the error page. I try to look
at the kwmailervb.asp page in browser, no code, no blank, just error page.
Please take a look for yourself. the form is out there now (not working) :(...
here is the link to the form. much love for your help Alan
http://www.liuna.org/marketshare/joinus/joinform.htm
| |
| Murray *TMM* 2004-08-11, 7:16 pm |
| > It didn't work for me and I
> didn't get any help from their forum.
Contact Paul Davis (the author) directly. He'll help you.
> Unfortunately, the administrators here
> are not very helpful to me.
Why are you still hosting there? That's what you pay them for.
There is more to the KW code than you have shown below, no?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"bruhop" <webforumsuser@macromedia.com> wrote in message
news:cfdkii$nc$1@forums.macromedia.com...
> INFO: Windows 2003 server, IIS 6.0, using ASP
| |
|
|
> they said we don't have a CGI bin on our server
What type of serverside scripting CAN you use?
ASP? or PHP?
have you uploaded kwmailervb.asp ?
if yes, what happens when you fill out the form page (viewing it after it's
uploaded onto the server) and submit it? Any error messages?
What happens when you look at kwmailervb.asp directly in the browser?
Is it blank? or is it code?
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|