Thanks Deith... I'll take a look.... I guess I could just do a cfinclude
also?

-----Original Message-----
From: Keith Gaughan [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 10, 2004 10:28 AM
To: CF-Talk
Subject: Re: passing many variables between pages

Tim Laureska wrote:

> I have a typical form where there are 10 - 15 form variables that must
> be passed through multiple templates...
> 
> I have always used the hidden input method 
> <input type="hidden" name="whatever" value=#whatever#>
> 
> Is there a way to take all those hidden input lines and put them into
> one variable and just pass that one variable from template to template
> rather than having 15 - 20 hidden input lines in each template?
> 
> Or is there some other good technique for this?

You might want to try my CF_WriteHiddenVariables tag:

     http://free.cftagstore.com/?page=viewtag&tagId=43

You just specify the names of the variables you want to pass from page 
to page, and it generates all the hidden variable tags needed, properly
escaping any dodgy characters.

K.

-- 
Keith Gaughan, Developer
Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland
http://digital-crew.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to