Hi Adam, what I am trying to do is pass the form variables into the expression 
such as:

<cfif URL.Reg EQ "Y">
<p>Thank<cfoutput>#form.firstname#</cfoutput> you for submitting your 
inquiry</p> 
<cfelse>

when I submit the form I just get Thank you for submitting your inquiry

I ordered CFWACK volumes 1 & 2 today hopefully after reading these I will be 
able to do things like this myself, thanks so much!

Johnny




(o o)
----ooO--(_)--Ooo----------------------------------
John Barrett
Flash Design & Development
http://www2.hawaii.edu/~johnbarr

.oooO
( )  Oooo.
\ (  (  )
 \_)  ) /
(_/


On Monday, March 28, 2011 at 4:32 AM, Adam Parker wrote: 
> 
> Hi John - 
> 
> I don't quite understand your question? Can you elaborate or rephrase it 
> please?
> 
> The URL variable is a trigger for successful form completion. Once the user 
> satisfies the required form elements, the page reloads:
> 
> <cflocation url="#cgi.SCRIPT_NAME#?reg=y">
> 
> and adds the url variable "reg" and sets it equal to "y." It then executes 
> the code:
> 
> <cfif URL.Reg EQ "Y">
> <p>Thank you for submitting your inquiry</p> 
> <cfelse>
>  form 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5266
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to