Jordan

If your template is also used elsewhere and contains html code, but you dont
want it to render the html code in this case, you can encase the cfinclude
tag with cfsilent.  this will supress any html output from the tag and just
lets it process.

<cfsilent>
        <cfinclude>
</cfsilent>

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jordan
Thomas
Sent: Wednesday, 28 May 2003 11:46 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Redirect with form variables


Thanks Guys,

I think that the CFInclude is what I will do. Most simple and guaranteed to
work.

cheers and thanks again

Jordan


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ayudh
Nagara
Sent: Wednesday, 28 May 2003 4:40 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Redirect with form variables


Hi Jordan,
Why not do this. If there are errors, return a page containing only a hidden
form which auto-submits (using onLoad="document.form1.submit()") back to the
original form page. This way you can pass all the fields entered by the user
back to populate the original form.

Regards: Ayudh

+--------------------------------------------------------------+
| Put money in your bank while you're on the road.             |
| Secure credit card payment by SMS messaging.                 |
| VeriPay mPOS from Xilo Online: http://www.xilo.com/mpos      |
+--------------------------------------------------------------+
----- Original Message -----
From: "Jordan Thomas" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 21:33
Subject: [cfaussie] Redirect with form variables


> Hi,
>
> I have a form that submits to a controller which either sends a user, via
> cflocation, to a confirmation page if there are no errors or back to the
> original form if there is an error. If there is an error, I can pass the
> required variables back to the calling form via the url.
>
> Is there anyway to pass the submitted form variables back to the calling
> form as form variables. I am trying cfhttp which works well but it does
not
> do a redirect which is what I want.
>
> thanks
>
> Jordan
>
>
> ---
> 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/


---
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