I am trying to CFLOOP across a bunch of CFIFs but am getting a syntax error. I am getting the following Error message:
Invalid CFML construct found on line 144 at column 33.
ColdFusion was looking at the following text:
#
I am trying to CFLOOP across a CFIF for the various form fields during some server-side validation. The problem area is when I try to use the expression:
(Len(Trim(form.GSub_FName#GiftNum#)) EQ 0)
<!--- THIS STARTS THE LOOP TO CHECK --->
<cfloop index="GiftNum" list="1,2,3">
<!--- THIS CHECKS TO SEE IF EITHER FIRST NAME OR SECOND NAME HAS BEEN FILLED, AND THEREFORE GIFT SUB1 IS INTENDED --->
<CFIF (Len(Trim(form.GSub_FName#GiftNum#)) EQ 0) OR (Len(Trim(form.GSub_LName#GiftNum#)) EQ 0)>
.
.
.
.
.
</CFIF>
Invalid CFML construct found on line 144 at column 33.
ColdFusion was looking at the following text:
#
I am trying to CFLOOP across a CFIF for the various form fields during some server-side validation. The problem area is when I try to use the expression:
(Len(Trim(form.GSub_FName#GiftNum#)) EQ 0)
<!--- THIS STARTS THE LOOP TO CHECK --->
<cfloop index="GiftNum" list="1,2,3">
<!--- THIS CHECKS TO SEE IF EITHER FIRST NAME OR SECOND NAME HAS BEEN FILLED, AND THEREFORE GIFT SUB1 IS INTENDED --->
<CFIF (Len(Trim(form.GSub_FName#GiftNum#)) EQ 0) OR (Len(Trim(form.GSub_LName#GiftNum#)) EQ 0)>
.
.
.
.
.
</CFIF>