As long as you submit the form to that page you are good.  if you try and
run the template directly then you will run into problems.  Using FB 3 will
not cause a problem like this, but it would be best practices to use
attributes scoped variables for this, not form.  The Fb 3 core files will
set all url and form variables into the attributes scope.

Tim Heald
ACP/CCFD :)
Application Development
www.schoollink.net

> -----Original Message-----
> From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 4:28 PM
> To: CF-Talk
> Subject: RE: Form.FIELDNAME - error!!!!
>
>
> Hi Reuben,
>
>    I am submitting using "Post" method. I am using FuseBox3. Will
> that make
> a difference??
>
> Thanks,
> Sudheer Chakka
>
> -----Original Message-----
> From: Reuben Poon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 3:24 PM
> To: CF-Talk
> Subject: RE: Form.FIELDNAME - error!!!!
>
>
> If the page was called directly and not from a form submission
> you could get
> that error because no FORM fields are defined.
>
> Reuben Poon
>
>
>
> -----Original Message-----
> From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 1:16 PM
> To: CF-Talk
> Subject: Form.FIELDNAME - error!!!!
> Importance: Low
>
>
> Hi,
>
>  Can any one tell me what is the mistake in
>
>       <CFLOOP FROM="1" TO="#ListLen(FORM.FIELDNAMES)#" STEP="1" INDEX="i">
>               <CFSET var = #ListGetAt(Form.FIELDNAMES, i)#>
>                       #ListGetAt(Form.FIELDNAMES, i)# = #Evaluate(var)#
> <BR>
>       </CFLOOP>
>
>
> I am getting the following error:
>
> An error occurred while evaluating the expression:
> "#ListLen(FORM.FIELDNAMES)#"
>
>
>  Any help on this is appreciated.
>
> thanks,
> Sudheer Chakka.
>
>
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to