Forum
Using search from the header
Hi,
I have placed the search field in the header of my webpage. I trying to "call" search.php.
But the result is:
https://axcelfuture.localhost:8080/?q=search+test
<perch:form id="q" method="post" action="/search.php"> <div> <perch:label for="q">Search</perch:label> <perch:input type="search" id="q" /> <perch:input type="submit" value="Go" /> </div> </perch:form>
Any idea of what iam doing wrong?
The
action="/search.php"
should take care of that. Is the form being correctly parsed - have you checked there are no Perch tags left in the HTML source for any reason?Hi Drew,
Sorry for that.
Had a form tag around <?php perch_search_form(); ?>
Thank for your help