We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31660
    • 22 Posts
    Hello and great respect to all active community.
    Getting ahead, sorry for my English it’s not so good.
    I was going to use Ditto->request to make user-side multiple-select filter.
    But html-form sent separated parameters($_GET) like this

    index.php?id=1&ditto_tags=param1&ditto_tags=param2&ditto_tags=param3


    and Ditto->request understands only comma separated parameters like this

    index.php?id=1&ditto_tags=param1,param2,param3


    Have anyone faced with similar problem? I actually don’t want fix this by javascript, and hope that better way is exist.
    Thanks for you attention.
      • 31660
      • 22 Posts
      May be it’s possible somehow that request.extender.inc.php could read POST massive?
      Because now he isn’t.

      by this form
        <form action="index.php?id=6" method="post" name="myform">
          <select name="ditto_tags[]" id="ditto_tags" class="inputBox" style="width: 200px;" multiple="multiple">
            <option value="one">one</option>
            <option value="two">two</option>
            <option value="three">three</option>
          </select>
      </form>


      request.extender.inc.php takes up this $_REQUEST

      Array ( [id] => 6 [ditto_tags] => Array ( [0] => one [1] => two [2] => three )...


      Parameters are in the array, but nothing happened, and ditto return "No documents found."