that was it Ray... btw, how do you know all of this stuff?
you must use more than 10% of your brain :)

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 4:33 PM
To: CF-Talk
Subject: RE: <cfscript> question...

I assume you want to see if form[X] is defined, were X is from
fieldList. You are missing a # sign:

if(not isDefined("form.#listGetAt(fieldlist,i)#"))
form[listGetAt(fieldList,i)] = "";

Also note I switched to "dot" notation for the isDefined check. If you
want to use brackets, switch to structKeyExists

if(not structKeyExists(form, listGetAt(fieldlist,i))


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to