don't you need {}'s around the  FORM[listgetat(FieldList,i)] = "";

or if not, what error are you getting?

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337

-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 4:26 PM
To: CF-Talk
Subject: <cfscript> question...

What am I doing wrong here?

<cfscript>
// Intialize List
FieldList =
"CustEmail,CustPassword,CustPassword2,BillFirstName,BillLastName,BillAddress
,BillAddress2,BillCity,BillState,BillZip,BillPhone";

// Loop thru list and define all FORM variables for(i=1; i LTE
listlen(FieldList); i = i + 1)
if (NOT isDefined("FORM[listgetat(FieldList,i)]"))
FORM[listgetat(FieldList,i)] = "";
</cfscript>

Che Vilnonis
Application Developer
Advertising Systems Incorporated
8470C Remington Avenue
Pennsauken, NJ 08110
p: 856.488.2211
f: 856.488.1990
www.asitv.com


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

Reply via email to