Non-Search related post variables
Is it possible to include post variables that are not related to the search as part of the search form?
I'd like to include a variable to control an element in the page. eg. I have a drop down box that shows/hides some search options and would like to maintain the state of the dropdown after postback.
Replies
Low 24 May 2012 12:42
Hi Philip,
Yes, that will work. An input field like <select name="foo"> will be available as {low_search_foo} in the search form, as long as you add the query="" parameter to it.
Philip 24 May 2012 22:39
Thanks Low. Almost had it! Just had the wrong variable name.