JohnLucania
asked on
cfinput error: Invalid token 'C' found
I have:
<cfinput <CFIF session.myTransactionMode eq "addPayment" AND session.myPaymentID neq "">disabled</CFIF>
tabindex="#myTab#" type="text" name="GiftDate" id="GiftDate" size="10" maxlength="10" onChange="formatDate(this) ;"
class=notetext2 onkeyup="PopulateDate(even t);" accesskey="Z"
required="yes" message="Please enter Gift Date!"
value="<CFIF isDate(form.GiftDate)>#Dat eFormat(fo rm.GiftDat e,'m/d/yyy y')#<CFELS E>#form.Gi ftDate#</C FIF>">
This returns:
Invalid token 'C' found on line 143 at column 11.
The CFML compiler was processing:
a cfinput tag beginning on line 143, column 2.
How do you fix this?
<cfinput <CFIF session.myTransactionMode eq "addPayment" AND session.myPaymentID neq "">disabled</CFIF>
tabindex="#myTab#" type="text" name="GiftDate" id="GiftDate" size="10" maxlength="10" onChange="formatDate(this)
class=notetext2 onkeyup="PopulateDate(even
required="yes" message="Please enter Gift Date!"
value="<CFIF isDate(form.GiftDate)>#Dat
This returns:
Invalid token 'C' found on line 143 at column 11.
The CFML compiler was processing:
a cfinput tag beginning on line 143, column 2.
How do you fix this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nevermind, that wont work. HAve you tried using inline iif statements?
http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt1117.htm
http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt1117.htm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Invalid token 'C' found on line 143 at column 11.
The CFML compiler was processing:
a cfinput tag beginning on line 143, column 2.
<cfinput <CFIF session.myTransactionMode eq "addPayment" AND session.myPaymentID neq "">disabled</CFIF>
tabindex="#myTab#" type="text" name="GiftDate" id="GiftDate" size="10" maxlength="10" onChange="formatDate(this)
class="notetext2" onkeyup="PopulateDate(even
required="yes" message="Please enter Gift Date!"
value="<CFIF isDate(form.GiftDate)>#Dat