Opened 7 years ago

Closed 3 years ago

#15852 closed defect (patchwelcome)

dojox.form.CheckedMultiSelect does not submit values correctly

Reported by: sasdxm Owned by: dante
Priority: undecided Milestone: 1.13
Component: DojoX Form Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

When radio buttons are used, the selected value gets submitted as separate characters -

ss1=V&ss1=I&ss1=R&ss1=G

gets sent from:

<!DOCTYPE html>
<html>

  <head>
        <link rel="StyleSheet" type="text/css"
             href="../scripts/dojo-1.8.0/dijit/themes/claro/claro.css">
        <link rel="StyleSheet" type="text/css"
             href="../scripts/dojo-1.8.0/dojox/form/resources/CheckedMultiSelect.css">

        <script type="text/javascript">
          var dojoConfig = {
            parseOnLoad : true,
          };
        </script>
        <script type="text/javascript" src="../scripts/dojo-1.8.0/dojo/dojo.js"></script>
        <script>
            dojo.require("dijit.form.Form");
            dojo.require("dijit.form.Button");
            dojo.require("dojox.form.CheckedMultiSelect");
        </script>

   </head>

  <body class=" claro ">

    <form dojoType="dijit.form.Form" id="myForm"   action="" method="">

      <select data-dojo-id="ss1" name="ss1" data-dojo-type="dojox.form.CheckedMultiSelect">
              <option value="TENN">Tennessee</option>
              <option value="VIRG" selected="selected">Virginia</option>
              <option value="WASH">Washington</option>
              <option value="FLOR">Florida</option>
              <option value="CALI">California</option>
      </select>

      <p/>
      <button dojoType="dijit.form.Button" type="submit"> Submit</button>

    </form>

  </body>

</html>

Change History (1)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.