2 Replies Latest reply on Jan 21, 2009 5:13 PM by Newsgroup_User

    Checkbox Group

    Level 7
      CS4 - XP.

      I recently had a checkbox group and use
      http://www.hotdreamweaver.com/dreamweaver-php-toolbar to process the mail
      via PHP.

      <form action="HDWForm2Mail/Form2Mail.php" method="post" id="form1"
      accept-charset="iso-8859-1">
      <td align="right" valign="top">SERVICES INTERESTED IN:</td>
      <td><table width="200">
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="mail"
      id="services_0" />
      Direct Mail</label></td>
      </tr>
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="ground"
      id="services_1" />
      Ground Services</label></td>
      </tr>
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="polling"
      id="services_2" />
      Polling</label></td>
      </tr>
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="consulting"
      id="services_3" />
      Consulting</label></td>
      </tr>
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="management"
      id="services_4" />
      Management</label></td>
      </tr>
      <tr>
      <td><label>
      <input type="checkbox" name="services" value="other"
      id="services_5" />
      Other</label></td>
      </tr>
      </table></td>
      </tr>
      <tr>
      <td align="right">COMMENTS:</td>
      <td align="left" valign="top"><textarea name="comments" id="comments"
      cols="45" rows="3"></textarea></td>
      </tr>
      <tr>
      <td align="right"> </td>
      <td align="right" valign="top"><input type="submit" name="Submit"
      id="Submit" value=" Submit " /></td>
      </tr>
      </table>
      <input type="hidden" name="hdwemail" id="hdwemail" value="info+xxx.com" />
      <input type="hidden" name="hdwok" id="hdwok" value=" http://www.xxx.com" />
      <input type="hidden" name="hdwnook" id="hdwnook" value="/contact_us.html"
      />
      </form>


      What happened was even if all the check boxes were checked, only one of the
      boxes would come through on the mail. I had understood that radio button
      groups only allow one toggle but checkboxes were for multiple choice.
      Please do not submit an entry...

      So, on the main site I had to just create a table and enter individual
      checkboxes and the mail processed just fine.

      Is this a bug or did I miss something?