Sending an array of values to QMT?
-
I’m trying to get input from checkboxes (tags, or any other custom taxonomy) to get taken in and parsed with QMT plugin. I have the checkboxes set up, but of course when I give them all the appropriate name, only the last set checkbox gets sent:
<input type="checkbox" name="tag" value="tag-one" />
I also tried doing it as you would with an array
<input type="checkbox" name="tag[]" value="tag-one />
and so on so that they all get taken in. This also doesn’t work.How do I set this up properly so that I can send data to the Search where if more than one checked box were selected the query would be as follows, in the URL:
https://myblog.com/?tag=tag-one+tag-two
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Sending an array of values to QMT?’ is closed to new replies.