Hi all,
I would like to put a filter on ajaxsearch by tv. I found ajaxsearch 1.9.0 beta and the &filter option is exactly what i need

When I put the &filter in the snippet call I don’t have any problems.
However, I want them to be user editable. So I created a form that when the submit button is clicked checks which checkboxes are checked and generates the correct string to input in filter. I put them back in a hidden field in the form that is called filter.
Only bad thing is that the filter value isn’t accepted by ajaxsearch.
here is my form code:
<form [+as.formId+] action="[+as.formAction+]" method="post">
<input type="hidden" name="advSearch" value="[+as.advSearch+]" />
Klimaat : <input type="checkbox" name="productgroepklimaat" value = "klimaat" />
Douche automatisering: <input type="checkbox" name="productgroepdouche" value="douche automatisering" />
Naregelingen: <input type="checkbox" name="productgroepnaregelingen" value="naregelingen" />
Toegang <input type="checkbox" name="productgroeptoegang" value="toegang" />
Energie: <input type="checkbox" name="productgroepenergie" value="energie" />
Verlichting: <input type="checkbox" name= "productgroepverlichting" value="verlichting" />
<br>
FAQ: <input type="checkbox" name="documentsoortfaq" value="FAQ" />
Bulletin: <input type="checkbox" name="documentsoortbulletin" value="Bulletin" />
Manual: <input type="checkbox" name="documentsoortmanual" value="Manual" />
Engineering Note: <input type="checkbox" name="documentsoortengineeringnote" value="Engineering note" />
Training doc: <input type="checkbox" name="documentsoorttrainingdoc" value="Training doc" />
<input type="hidden" name="filter" value="" />
<br>
<input id="ajaxSearch_input" class="cleardefault" type="text" name="search" value="[+as.inputValue+]"[+as.inputOptions+] />
<input type="submit" name="submit" value = "submit" onclick="convertfilter(this.form)"/>
The problem lies in the line <input type="hidden" name="filter" value="" />. When I make this field visible, I see the correct text appearing, so its the name that isnt accepted by ajaxsearch. I also tried name="[+as.filter+]", but that placeholder is empty.
Anyone knows what the correct name is to parse the filter trough an input form?
Thanks in advance,