Jeez.  Well, I can't see any problems in the code that you posted.

If you try to CFOUTPUT FORM.FormFields, what does it give you?  And, if it
gives you a list as you would expect, try iterating over that list,
evaluating each one as in:

        <CFIF IsDefined("FORM.FormFields")>
                FORM.FormFields = <CFOUTPUT>#FORM.FormFields#</CFOUTPUT><BR><BR>

                <CFLOOP LIST="#FORM.FormFields#" INDEX="CurrEle">
                        <CFOUTPUT>FORM.#CurrEle# = 
#Evaluate("FORM.#CurrEle#")#</CFOUTPUT>
                </CFLOOP>
        <CFELSE>
                FORM.FormFields is Not Defined
        </CFIF>

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Scott Brady [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 17, 2002 3:12 PM
> To: CF-Talk
> Subject: RE: Log reporting error - No actual error
>
>
> I can give you the relevant parts, without posting all of the actual code:
>
> <!--- replace hack attempts --->
> <cfif isDefined("form.firstname")>
>       <cfset form.firstname = replacenocase(form.firstname,
> "<cf", "_HACK", "all")>
>       <cfset form.firstname = replacenocase(form.firstname,
> "<script", "_HACK", "all")>
> </cfif>
>
> <CFQUERY name="popOrder" DATASOURCE="#DSN#">
> INSERT INTO Orders
> (
> FirstName
> )
> VALUES
> (
> '#form.FirstName#'
> )
> </cfquery>
>
>
> .. and then it displays the next page.
>
> (That page has a form on it, as well, which does the same thing
> with submissions).
>
> It appears to happen with every field in the form (so, if you
> were to cfparam FORM.firstname, then the error would report for
> FORM.lastname [the next field]).
>
> --------------------------------
> Scott Brady
> http://www.scottbrady.net/
>
>
>
> 
______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to