2 Replies Latest reply on Oct 2, 2014 6:47 AM by BKBK

    How to make checkbox option enable/disable

    aremie24

      Hello,

      i am newbie in coldfusion...i want to make an option answer after my first check box answer is true

      code :

      <tr>

          <td><table width="100%"  border="0">

        <tr>

      <tr>

          <td>Do you have a car? </td>

          <td><input name="car_type" type="checkbox" value="1">Yes<input name="car_type" type="checkbox" value="0">No</td>

      </tr>

      <tr>

          <td width="100%"></td>

          <td><strong>(Select your car type)</strong></td>

      </tr>

        <tr>

          <td></td>

          <td><input name="car_bmw" type="checkbox" value="1">

            BMW</td></tr>

         <tr><td></td>

          <td><input name="car_mercedes" type="checkbox" value="1">

            Mercedes</td></tr>

          <td></td>

          <td><input name="car_toyota" type="checkbox" value="1">

            Toyota</td>

           <td></td>

          <tr><td>

          </td><td>Others<input name="car_others" type="text" size="20" maxlength="100" /></td>   

        </tr>

        <tr>

       

      Thank u