Hi Peter,

Welcome to the world of CF!

If you are already familiar with variables in CF, then you'll find it
quite easy to achieve what you are after.

When a form is submitted to a .cfm page, you can access the values
entered using the Form. scope:
 
For example, you have form.cfm and form_action.cfm. The form on the
form.cfm page submits to form_action.cfm and contains the following
input:
<input type="text" name="mytext">

When the form is submitted, you can then access the values entered
using Form.<inputname> - in this case, it would be Form.mytext

Once you have the hang of variables, you can then use them to create
emails using Coldfusions cfmail tag:

<cfmail from="[EMAIL PROTECTED]" to="[EMAIL PROTECTED]" subject="message for me">
The value of mytext is #Form.mytext#
</cfmail>

There's always more to it than that - but where is the fun of
discovering it for yourself :)

Good luck,
Dave

>>> [EMAIL PROTECTED] 07/09/03 09:58am >>>
Hi All,

First of all I'm a newbie to Coldfusion, and the more I look into the
more
excited I get about some of the great things I want to try and
develop.

I have a simple inquiry form and want a couple of things to happens
once
the form is submitted.

1. I'll receive an email of the submitted query to my support email
address.

2. The person submitting the inquiry receives a autoresponse email
that
the inquiry is being attended to.

I know this is one of the simplest processes around, I've seen some
code
for something very similar, however  never seems to quite work.

Are there any sites that anyone could reccomend, that explain what the
code is being used for, and how it all fits together and take into
consideration newbies like myself.  I know there is a newbiecfm.com
however its all in the early stages at this stage.

Any assistance and advice would be appreciated.
Cheers
Peter J

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to