Blair
On 4/27/06, Seona Bellamy <
[EMAIL PROTECTED]> wrote:
Hi guys,
Can someone please look at this and tell me what's wrong with it? I'm sure it's something really simple, but I just can't see it.
I have the following piece of code:
<cfinput class="chkb" name="advertising" id="advertising" type="checkbox" value="1"<cfif form.advertising> checked="checked"</cfif>>
It gives me the following error:
-----------------
Invalid token 'c' found on line 194 at column 121.
The CFML compiler was processing:
* a cfinput tag beginning on line 194, column 38.
* a cfinput tag beginning on line 194, column 38.
* a cfinput tag beginning on line 194, column 38.
* a cfinput tag beginning on line 194, column 38.
The error occurred on line 18.
----------------
If I remove the <cfif> bit, the error goes away. Can I not have a <cfif> in a <cfinput>? I'm sure I've done it before.
Cheers,
Seona.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---
