The listAppend function returns a value that you have to assign to a variable. It does not directly modify the list you specify. TRY: errorString = ListAppend(errorString, "Please enter an address"); Michael Caulfield -----Original Message----- From: David Baskin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:57 PM To: CF-Talk Subject: CFSCRIPT and ListAppend I'm using CFSCRIPT to run my form error checking and i'd like to keep a list of errors. i'm trying to use "ListAppend" in my script blocks, but it doesn't seem to be working. does ListAppend not work in cfscript? i'm using cfscript to improve processing speed. thanks for any help. <cfscript> errorString = ""; if(FORM.txt_dealerName EQ ""){ ListAppend(errorString, "Please enter a Dealer Name") ; } if(FORM.txt_address1 EQ ""){ ListAppend(errorString, "Please enter an address"); } if (FORM.txt_city EQ ""){ ListAppend(errorString, "Please enter a city"); } </cfscript> d ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

