ooops that should be an OR! it only takes one not to be 0 to throw it out
<cfset showForm = false>
<cfloop index="x" from="1" to="5">
<cfif Evaluate('photo_file_#x#_error') neq 0
OR Evaluate('photo_caption_#x#_error') neq 0>
<cfset showForm = true>
<cfbreak>
</cfif>
</cfloop>
Alan Williamson wrote:
rewrite it:
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!