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