Hi Rob,
Thanks to your comment I know is doable, so I Isolated the code to use only the results and advanced form tags. So the problem is on my template’s code.
Will take a look and see if I can spot the problem (the template is using stash and template partials).
{embed="layouts/subpage }
{exp:stash:set name="pageContent"}
<h1> Search Results </h1>
<-- this displays fine -->
<dl>
{exp:search:search_results}
<dt><a href="http://{title_permalink=">{title}</a></dt>
<dd>{event_overview} or something</dd>
{/exp:search:search_results}
</dl>
<hr>
<-- this displays fine and the js code is added but doesn't submit -->
{exp:search:advanced_form
show_future_entries="yes"
result_page="search"
no_result_page="search/noresults"
channel="about|events|support_membership|news"
}
<!-- /code from the sample form on EE help -->
{/exp:search:advanced_form}
{/exp:stash:set}
Same code but without the stash and embed works great.
Thanks!