actually, just use CHECKED, not checked="checked".
and as for naming two or more checkboxes the same, you would *certainly* do
it if you needed to create a comma-delimited list as the value of that
variable.
-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 6:44 PM
To: CF-Talk
Subject: Re: HELP!!!!
You shouldn't have two checkboxes on a form with the same name. Also, I
think the correct syntax is checked="checked" and not just checked.
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
----- Original Message -----
From: "Jay E Wigginton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 9:09 PM
Subject: HELP!!!!
> I am trying to do a simple <cfif> statement within a forms input/checkbox
> tag...
>
> The page debugging info displays....
>
> URL Parameters:
>
> PERSON=80,81
>
> The Query results do produce an ID equal to 80 and 81...
>
>
> <cfoutput query="GetResults">
> <input type="checkbox" value="#id#" name="person" <cfif
> ListFindNoCase(url.person,id)>checked</cfif>>
> </cfoutput>
>
>
> PROBLEM:
> The checkboxes never show up as "checked".... Am I just having a major
lapse
> in memory or is there something I have done wrong here?????
>
>
> thanks
> Jay
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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