I'm trying to get a simple search form to work. But I get an error: The action you have requested is invalid.
I have no idea what I'm missing here.
Stash partial with search form:
<section>
{exp:search:simple_form channel="blog" search_in="everywhere" result_page="blog/search"}
<h2><label for="search">Search</label></h2>
<div class="searchField">
<input type="text" name="keywords" id="search" value="" size="18" maxlength="100">
<button type="submit">Go!</button>
</div> <!-- /.searchField -->
{/exp:search:simple_form}
</section>
Stash viewmodel for search results:
{stash:embed:layouts:blog}
{exp:stash:set name="body_class"}blog{/exp:stash:set}
{exp:stash:set_list name="detail_data" parse_tags="yes" parse_depth="2"}
{exp:search:search_results}
{stash:entry_id}{entry_id}{/stash:entry_id}
{stash:title}{title}{/stash:title}
{stash:excerpt}{excerpt}{/stash:excerpt}
{stash:author}{author}{/stash:author}
{stash:post_date}{entry_date format='%M %d, %Y'}{/stash:post_date}
{/exp:search:search_results}
{/exp:stash:set_list}
This makes no difference. /TEMP/ $config['secure_forms'] = "n";
I hope someone can help me out! Thanks!