House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Bind Problem cfinput to check boxes

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
so i have this cfinput
Paul Ihrig
05/08/08 11:24 A
think i found my problem
Paul Ihrig
05/08/08 11:30 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Ihrig
05/08/2008 11:24 AM

so i have this cfinput <cfinput type="text" name="ascList"  bind="{Assign}" bindonload="true"> it is bout to a checkbox value.. <cfinput type="checkbox" name="Assign" checked="#checked#" value="#aId#"> you should be able to check & uncheck multiple boxes, or just type in the id's you want.. the check box is in a loop worked great when the where only 9 or so. now its up to 30... my proble is if some on selects checkbox 32 & submits the form. on update i see in the text field 2,3,32 not just 32 which is the real value that was inserted... i doubt this makes sense...

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Ihrig
05/08/2008 11:30 AM

think i found my problem <cfif getAccessory.ascList contains '#getAscList.aId#'>      <cfset checked="true">      <cfelse>      <cfset checked="false">      </cfif>


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference