Add this code where you want to put the custom search.

Settings :
action – set the site url
cat field value – should be set to the category id whatever you want to search in(here its 5)

Yeah ! Simple as that. Try it out.

Be Sociable, Share!