Hi,
I am working on a multiselect filter, where default "All" option should be removed if the user selects something other than "All". The caviat is that the options for multiselect are not based on a search, they are manually added. For example:
<choice value="first_choice="*"">All</choice>
<choice value="second_choice="Y"">second choice</choice>
<choice value="third_choice="Y"">third choice</choice>
<choice value="fourth_choice="Y"">fourth choice</choice>
<choice value="fifth_choice="Y"">fifth choice</choice>
What I usually do doesn't work:
<change>
<eval token="form.mytoken">if(mvcount('form.mytoken')=0,"*",if(mvcount('form.mytoken')!=1,mvfilter('form.mytoken'!="*"),'form.mytoken'))</eval>
</change>
If anyone has a solution, I would really appreciate it. Thank you!
... View more