Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[SOLVED] use image for search button and match all
Can anybody tell me how I can have the match=all attribute in search AND use an image instead of a button?
At the moment this is what I have but the queries sent do not use the match="all"
attribute.
<form id="search" method="get" action="<txp:site_url />">
<input type="text" name="q" id="qsearch" value="" title="search" size="30" />
<input type="image" value="Search" class="button" src="<txp:site_url />images/search.gif" title="Search" />
</form>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [SOLVED] use image for search button and match all
solved
final xhtml strict code
<form id="search" method="get" action="<txp:site_url />">
<fieldset>
<input type="hidden" value="any" name="m" />
<input type="text" name="q" id="q" value="<txp:page_url type="q" />" title="search" size="30" />
<input type="image" value="Search" class="button" src="<txp:site_url />images/search.gif" title="Search" />
</fieldset>
</form>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline