5 Replies Latest reply on Feb 25, 2013 3:52 AM by alaindacier

    cfinput checkbox labels

    alaindacier

      Dear reader,

       

      I work with Coldfusion 8 and have a form that is type XML .

      When I create this code:

       

      <cfinput label="Sox" name="Sox" type="checkbox" checked="#YesNoFormat(qCompanyControl.Sox)#">

      <cfinput label="Tax" name="Sox" type="checkbox" checked="#YesNoFormat(qCompanyControl.Tax)#">

      <cfinput label="Iso" name="Sox" type="checkbox" checked="#YesNoFormat(qCompanyControl.Iso)#">

       

      3 checkboxes with THE SAME NAME.

       

      the result on screen is what I want, but the problem is now that I cannot access all 3 seperate...

      samename.jpg

       

      When I change my code to the code is should be:

      <cfinput label="Sox" name="Sox" type="checkbox" checked="#YesNoFormat(qCompanyControl.Sox)#">

      <cfinput label="Tax" name="Tax" type="checkbox" checked="#YesNoFormat(qCompanyControl.Tax)#">

      <cfinput label="Iso" name="Iso" type="checkbox" checked="#YesNoFormat(qCompanyControl.Iso)#">

       

      the result is this:

      UniqueName.jpg

      The labels are gone...

       

      What is causing this prolem??  (I tried a lot of things, but apparently not the correct one...

       

      Very curious about this one!