That would work, but I don't know the names of the form fields coming
in. I'm using CFHTTP to generate reports in different mime-types. Each
report has a template for each mime-type and each report has different
data, what I'm wanting to do is build one template that handles
retrieving the template, saving the content as a variable then writing
the file in the appropriate mime type and returning a response to the
user.

It's working thus far with URL parameters, but a couple of the forms
have too many fields to pass on the URL string - IE returned an error
that the query string was too long, so I have to use POST. To use POST I
need CFPARAM tags and thus my problem.

I think I'll do it with INCLUDE files instead of CFHTTP, although I
wanted the ability to query remote templates on other servers - guess
that's not going to happen just yet.

Joshua Miller
[EMAIL PROTECTED]


-----Original Message-----
From: S. Isaac Dealey [mailto:info@;turnkey.to] 
Sent: Friday, November 15, 2002 12:09 PM
To: CF-Talk
Subject: Re: Dynamically Build CFHTTP Param Tags?


> Is there a way to dynamically generate CFHTTP Param tags for a CFHTTP 
> call?

> I need to pass form fields through a CFHTTP call, but there may be 
> different fields for each submission ... is there a way to do this?

> Thanks,

> Joshua Miller
> [EMAIL PROTECTED]

I'd expect you should be able to use <cfif> inside your <cfhttp> call...

<cfhttp >
        <cfif ...>
                <cfhttpparam ...>
        </cfif>
</cfhttp>

Does this not work?

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to