You could create a hidden form with all of your fields:

<form name="someform" action="anotherpage.cfm" method="post">
<!--- put hidden fields here --->
</form>

Submit the form via JS:

<script language="Javascript">
document.someform.submit();
</script>


The only problem with this method is the first page has to load before it goes 
to the next page. Anyway you could just use <cfinclude template=" 
anotherpage.cfm "> instead of the cflocation. Why do you need cflocation?

Brook

-----Original Message-----
From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
Sent: June 5, 2007 9:05 AM
To: CF-Talk
Subject: passing long list of values

How can I pass values to another page via a URL without listing all of them 
within the URL tag? 

After a certain field is checked, it uses a <CFLocation> tag and the url, but I 
have many fields to embed. Is there a better way? How about Cftemplate? Hidden 
fields wouldn't work w/a URL?

<cfoutput>
<CFLocation url="anotherpage.cfm?insidesalesrep=#form.insidesalesrep#...>
</cfoutput>

Thanks.

RO
HWW




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280112
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to