I am new to CFM, and haven't done coding for 6-8 years. I have been reading around trying to figure out what is going on, but the one sample I have doesn't make sense to me. It may be because I am trying to put everything in one page, I don't know. PLEASE HELP!
sample code found:
<form action="http://www.alumni.cornell.edu/cfxcgi/sendmail.cfm" method="post" name="demoForm">
<input type="hidden" name="mail_confirmation_page" value="Path_to_your_thank_you_page_goes_here">
<input type="hidden" name="mail_to" value="receiving email goes here">
<input type="hidden" name="mail_subject" value="Subject_goes_here">
Name: <input name="mail_name" type="text" size="50">
Email: <input name="mail_from" type="text" size="50">
Address 1: <input name="mail_address" type="text" size="50">
Address 2: <input type="text" name="mail_address_2" size="50">
Phone: <input name="mail_phone" type="text" size="50">
Message: <textarea name="mail_message" cols="30" rows="5"> </textarea>
<input name="submit" type="submit" value="submit">
<input name="reset" type="reset" value="reset">
</form>
Email FormI am trying to make a form that can be emailed to myself using cfm.
Page 1 of 1
2 Replies - 2360 Views - Last Post: 22 June 2007 - 08:46 AM
Replies To: Email Form
#2
Re: Email Form
Posted 31 May 2007 - 10:35 PM
what do you have in your sendmail.cfm file? Or is that it?
Some where you need to have a <cfmail> tag that processes the form data.
Some where you need to have a <cfmail> tag that processes the form data.
#3
Re: Email Form
Posted 22 June 2007 - 08:46 AM
jdredneck, on 31 May, 2007 - 10:05 PM, said:
I am new to CFM, and haven't done coding for 6-8 years. I have been reading around trying to figure out what is going on, but the one sample I have doesn't make sense to me. It may be because I am trying to put everything in one page, I don't know. PLEASE HELP!
sample code found:
<form action="http://www.alumni.cornell.edu/cfxcgi/sendmail.cfm" method="post" name="demoForm">
<input type="hidden" name="mail_confirmation_page" value="Path_to_your_thank_you_page_goes_here">
<input type="hidden" name="mail_to" value="receiving email goes here">
<input type="hidden" name="mail_subject" value="Subject_goes_here">
Name: <input name="mail_name" type="text" size="50">
Email: <input name="mail_from" type="text" size="50">
Address 1: <input name="mail_address" type="text" size="50">
Address 2: <input type="text" name="mail_address_2" size="50">
Phone: <input name="mail_phone" type="text" size="50">
Message: <textarea name="mail_message" cols="30" rows="5"> </textarea>
<input name="submit" type="submit" value="submit">
<input name="reset" type="reset" value="reset">
</form>
sample code found:
<form action="http://www.alumni.cornell.edu/cfxcgi/sendmail.cfm" method="post" name="demoForm">
<input type="hidden" name="mail_confirmation_page" value="Path_to_your_thank_you_page_goes_here">
<input type="hidden" name="mail_to" value="receiving email goes here">
<input type="hidden" name="mail_subject" value="Subject_goes_here">
Name: <input name="mail_name" type="text" size="50">
Email: <input name="mail_from" type="text" size="50">
Address 1: <input name="mail_address" type="text" size="50">
Address 2: <input type="text" name="mail_address_2" size="50">
Phone: <input name="mail_phone" type="text" size="50">
Message: <textarea name="mail_message" cols="30" rows="5"> </textarea>
<input name="submit" type="submit" value="submit">
<input name="reset" type="reset" value="reset">
</form>
That's the form file, where is your sendmail.cfm file? (as the previous poster said, the cfmail tag would be used in the sendmail.cfm file).
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|