Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Dreamweaver Forms Help Please
Old 02-09-2006, 10:14 PM Dreamweaver Forms Help Please
Junior Talker

Posts: 1
Trades: 0
Hey...I am really new to this, so sorry if this is a really dumb question.

I have created a form for my site with a submit button at the end, of course. I want the information submitted to be emailed to a specified email address when the "submit" button is clicked.

what do I do? I can't seem to find this in any of the manuals or anything.

thanx
MixedUpMusic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-10-2006, 01:06 AM Re: Dreamweaver Forms Help Please
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Hi MixedUpMusic,

Your confusion has been experience from most of us when we got started.

An HTML FORM, which you are building, only collects data from the person on your web page. In order to send that collected information to your email, you are going to need to use some other technology.

You can ask who is hosting your web site if you can use either ASP or PHP.

For either of these languages you can get a free script to run on your server to make this work.

You are going to get a little frustrated at first because you are about to learn something that has a bit of a learning curve. Keep at it. You will get it. When you run into a wall, post here, and you will get an answer.

Find out which you can use on your server, php or asp., then do this search in Google...

... free asp form mail ... <or> ... free php form mail ...

This will get you started. Come back and post to let us know how it is going. I have been developing web sites for 8 years and I am always picking egeryone's brain to learn something new.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 02-20-2006, 10:29 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
Hello Chip John i understand what your saying. i been trying to get this form I create in DW8 up and working. I have created a sendresults.PHP page and a redirect page.php. still having trouble. I am just getting started in Macromedia. been using FP w/ swishmax to develop over the last 4 yrs.
What I am trying to build is this
1: collect form info and email to my Acct.
2: tell person thank you and redirect them to home page

1st ?? in my Quote form.htm page i noticed there is nothing in the code that says my web addy. Is this right?

with my old form page(created in FP) my addy and other stuff is in the actual form page. also it looks like the form is built using a table( 2 colums and 40 rows)

with the stuff I have uploaded I fill the form out and click submit, the sendresults.php page is displayed. here is a link to the form http://www.yachthauling.com/quote%20form.htm

I am not to experienced in code, but when i look at it I kinda see what is happening. So I'll say i'm a beg.


here is the code for the quote Form
in the action field i had sendrsults.php


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Boat &amp; Yacht Hauling Quotes</title>
</head>
<body bgcolor="#FFFF99">
<form name="form1" method="post" action=""><p align="center"><font color="#0000CC" size="6"><strong>Quote Form</strong> </font></p>
<p><font color="#0000CC"><strong>Name:</strong></font>
<input name="Name2" type="text" id="Name2" size="54">
</p>
<p><font color="#0000CC"><strong>Address:</strong></font>
<!--webbot bot="Validation" b-value-required="TRUE" -->
<input name="Address2" id="Address2" size="51">
</p>
<p><strong><font color="#0000CC">City:
<input name="City2" type="text" id="City2" size="35">
State:
<input name="State2" type="text" id="State2" size="5" maxlength="2">
Zip:
<input name="Zip2" type="text" id="Zip2" size="10" maxlength="5">
</font></strong></p>
<p><strong><font color="#0000CC">Phone #'s: H.
<input name="Home2" type="text" id="Home2" size="13" maxlength="9">
W.
<input name="Work2" type="text" id="Work2" size="13" maxlength="9">
C.
<input name="Cell2" type="text" id="Cell2" size="13" maxlength="9">
Fax.
<input name="Fax2" type="text" id="Fax2" size="13" maxlength="9">
</font></strong></p>
<p><strong><font color="#0000CC">Email:
<input name="Email2" type="text" id="Email2" size="54">
</font></strong></p>
<p align="center"><font color="#009900" size="4"><strong><font color="#990000">Load Description</font></strong></font></p>
<p align="left"><font color="#990000"><strong>Make:
<input name="Make2" type="text" id="Make2" size="30">
&nbsp;&nbsp;&nbsp;&nbsp; Model:
<input name="Model2" type="text" id="Model2">
&nbsp;&nbsp;&nbsp;&nbsp; Year:
<input name="Year2" type="text" id="Year2" size="10" maxlength="4">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Weight:
<input name="Weight2" type="text" id="Weight2" size="10">
&nbsp;&nbsp;&nbsp;&nbsp; Length:
<input name="Length2" type="text" id="Length2" size="5">
&nbsp;&nbsp;&nbsp;&nbsp; Width:
<input name="Width2" type="text" id="Width2" size="10">
&nbsp;&nbsp;&nbsp;&nbsp; Height:
<input name="Height2" type="text" id="Height2" size="10">
&nbsp;&nbsp;&nbsp;&nbsp; Draft:
<input name="textfield2" type="text" size="5">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Mast:
<label>
<input type="radio" name="MastY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No&nbsp;&nbsp; Length:
<input name="Mast Length2" type="text" id="Mast Length2" size="5">
</strong></font></p>
<p align="left"><font color="#990000"><strong>Trailer:
<label>
<input type="radio" name="TrailerY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No&nbsp;&nbsp;&nbsp; Cradle:
<label>
<input type="radio" name="CradleY/N" value="Yes">
Yes</label>
<input name="RadioGroup1" type="radio" value="No" checked>
No</strong></font></p>
<p align="left"><font color="#990000"><strong>Bridge or Arch need to be removed:
<select name="select" id="select">
<option value="Yes">Yes</option>
<option value="No">No</option>
<option value="N/A" selected>N/A</option>
</select>
</strong></font></p>
<p align="left"><font color="#009933"><strong><font color="#009900" size="4"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lo ading Location&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; <font color="#FF0000">Delivery Location </font></font></strong></font></p>
<p align="left"><font color="#009900"><strong>Marina:</strong></font>
<input name="LoadingMarina2" type="text" id="LoadingMarina2" size="30">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><font color="#FF0000">Marina:</font></strong>
<input name="Delivery Marina2" type="text" id="Delivery Marina2" size="30">
</p>
<p align="left"><font color="#009900"><strong>Address:</strong></font>
<input name="LMAddress2" type="text" id="LMAddress2" size="30">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><font color="#FF0000"> Address:</font></strong>
<input name="DMAddress2" type="text" id="DMAddress2" size="30">
</p>
<p align="left"><font color="#009900"><strong>City, St., Zip:</strong></font>
<input name="LMCitySTzip2" type="text" id="LMCitySTzip2" size="30">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<str ong><font color="#FF0000">City, St.,Zip</font></strong><font color="#FF0000"><strong>:</strong></font>
<input name="DMCityStZip2" type="text" id="DMCityStZip2" size="30">
</p>
<p align="left"><strong><font color="#009900">Contact &amp; Ph#:
<input name="LMPH#2" type="text" id="LMPH#2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#FF0000">Contact &amp; Ph#:</font>
<input name="DLPH#2" type="text" id="DLPH#2">
</font></strong></p>
<p align="left"><strong><font color="#0000FF">Date you would like to move Load?
<input name="Move Date2" type="text" id="Move Date2">
</font></strong></p>
<p align="left"><strong><font color="#0000FF"> Any other Prices Quoted?
<input name="OtherQuotes2" type="text" id="OtherQuotes2" value="">
</font></strong></p>
<p align="left"><strong><font color="#990066">Any other information you would like to provide us.</font></strong></p>
<p align="left"><strong><font color="#990066">
<textarea name="textarea" cols="75" id="textarea"></textarea>
</font></strong></p>
<p align="center"> <font color="#009900">
<label>
<input type="submit" name="Submit2" value="Submit">
<input type="reset" name="Reset2" value="Reset">
</label>
</font> </p>
<p align="center">
<!--#include virtual="/counter/count.cgi?page=counter&type=image&style=blushdw&im gtype=png&nbdigits=5"-->
&nbsp;
<input type="hidden" name="hiddenField2">
</p>
</form>
</form>
</body>
</html>



Here is the codefor the send results.php


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<blockquote>&lt;?php
<br />
$youremail = &quot;yachthauling@msn.com&quot;; <br />
$subject = &quot;YachtQuote&quot;; <br />
$thankyou = &quot;redirectpage.php&quot;; <br />
if($email == &quot;&quot{ <br />
?&gt; <br />
No email address added. Please go back.&lt;br/&gt; <br />
&lt;?php <br />
}elseif($name == &quot;&quot{ <br />
?&gt; <br />
No name added. Please go back.&lt;br/&gt; <br />
&lt;?php <br />
}elseif($message == &quot;&quot{ <br />
?&gt; <br />
No message added. Please go back.&lt;br/&gt; <br />
&lt;?php <br />
}else{ <br />
<br />
$msg = ereg_replace(&quot;\\\'&quot;, &quot;'&quot;, $message); <br />
$msg = ereg_replace('\\\&quot;', &quot;\&quot;&quot;, $msg); <br />
$message1 = &quot;from: $name\nemail: $email\nmessage:\n$msg1&quot;; <br />
<br />
mail($youremail, $subject, $msg, &quot;From: $email\r\nReply-to: $email\r\n&quot; <br />
?&gt; <br />
&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0; url=&lt;?echo $thankyou;?&gt;&quot;&quot;&gt; <br />
&lt;?php <br />
} <br />
?&gt;</blockquote>
</body>
</html>
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 10:55 AM Re: Dreamweaver Forms Help Please
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Yes you do need an address in the action attrbute on the form

Line 9 of your form file - <form name="form1" method="post" action="">

This should have the results file listed in it!

<form name="form1" method="post" action="results.php">

See if this does it...
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 02-20-2006, 11:19 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
you mean ( "sendresults.php" ) right
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 11:21 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
I had that in there but i was messin around with it and deleted it. then copied it and pasted it to this.
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 11:25 AM Re: Dreamweaver Forms Help Please
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
yes sendresults.php or what ever the name of the php file is that parses the request.

You got it!
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 02-20-2006, 11:27 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
Quote:
Originally Posted by ChipJohns
yes sendresults.php or what ever the name of the php file is that parses the request.

You got it!

K here is the link why is it doing this then

http://www.yachthauling,com/quote%20form.html
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 11:31 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
fill in first line of form and hit submit
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 11:32 AM Re: Dreamweaver Forms Help Please
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
this link isn't working !
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 02-20-2006, 11:50 AM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
http://www.yachthauling.com/Quote%20Form.html
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2006, 11:53 AM Re: Dreamweaver Forms Help Please
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Can't help you with this. This is probably a php situation and i don't know php.
I use CF and ASP and many times what can cause this is not having the form elements names matching properly with the values in your php file. Recheck these, and if you can't find any mistypes, i would post that problem in the PHP forum...
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 02-20-2006, 12:00 PM Re: Dreamweaver Forms Help Please
Novice Talker

Posts: 11
Trades: 0
thanks for your help and Info
Kid
Kidrockz69 is offline
Reply With Quote
View Public Profile
 
Old 02-04-2007, 05:56 PM Forms Help Needed ASAP
Junior Talker

Posts: 1
Name: Edd
Trades: 0
Hi Guys....first of i wanna thank you all for all the info we share n help one another...first of I'm using lunar pages for my hosting n i hate their support already, i asked a guy some question n he told me i have web development issues which he cant assist me with, hence why i'm here. Ok i designed a registration form (http://nursinghelpdesk.com/registration.htm) using dreamweaver and did the whole submit, but every time i click submit on my page i get this message.
Method Not Allowed

The requested method POST is not allowed for the URL /Password retrival.htm.

Right now i need help on how to manage that problem and basically how to move on from there as i have no idea. Thanks in Advance

Edd...........wunluv
LayLow is offline
Reply With Quote
View Public Profile Visit LayLow's homepage!
 
Reply     « Reply to Dreamweaver Forms Help Please
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46473 seconds with 12 queries