How to make custom search block?

I have made a new custom search block. It works perfectly fine with this code:
<form action="index.php/search/search-results" method="get">
<input name="query" value="">
<input type="submit" name="search" value="Search"> 

What can I do to make this work:
<form action="index.php/search/search-results" method="get">
<input name="x" value="">
<input name="y" value="">
<select name="z" size="1">
<input class="btn" type="submit" name="search" value="Search"> 

Is 'action="index.php/search/search-results"' the right way to to this? How can I search with multiple keywords from multiple form inputs? Thank you.

View Replies:
TheRealSean replied on at Permalink Reply
Sorry no help but I am very interested to know how this is done, if anyone can help?.

Normally I would pass through the query as a query string/post var and then pick it up on the results page.

But I am still getting to grips with concrete5 architecture
Would I need to add attributes to the pages depending on there option?

ie option "a" only pulls back pages/products with attribute "a".

Thanks Sean
TheRealSean replied on at Permalink Reply
found this thread

but for some reason I arrived here first,

This answers my questions thank you