We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52530
    • 3 Posts
    SimpleSearch snippet has many parameters. How to let a user to control some of them on the frontend? E.g. put there a checkbox to choose &useAllWords=0 or 1 while searching.

    This question has been answered by Bruno17. See the first response.

    • discuss.answer
      • 4172
      • 5,888 Posts
      use a snippet like getReqParam to get the value of a url-parameter

      &useAllWords=`[[!getReqParam? &name=`useallwords`]]`


      or use fastField - tags, if you have fastField or pdoTools installed

      &useAllWords=`[[!#get.useallwords]]`
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 52530
        • 3 Posts
        or use fastField - tags, if you have fastField or pdoTools installed

        &useAllWords=`[[!#get.useallwords]]`
        I used the second way since I have pdoTools. It works! Thanks a lot, Bruno.