I have {exp:search:keywords} on 2 different parts of my search result page, one in the html <title> and a second one in the search form field.
The code for the HTML title is this
{embed="en/header" page_title="Search result for {exp:search:keywords}"}Code for the form field:
<input name="keywords" type="text" value="Searched for {exp:search:keywords}" size="30" maxlength="100">And this is what EE outputs for the form field:
<input name="keywords" id="keywords" type="text" value="Searched for <form method="post" action="http://www.website.com" enctype="multipart/form-data" >
<div class='hiddenFields'>
<input type="hidden" name="XID" value="d14a8311f68f16096aa0b78888c6e98cfcd2dd7d" />
<input type="hidden" name="ACT" value="21" />
<input type="hidden" name="RET" value="/results/7d1098574d4c145fb1df01ef42ae90d3/" />
<input type="hidden" name="URI" value="/en/results/7d1098574d4c145fb1df01ef42ae90d3/" />
<input type="hidden" name="entry_id" value="14" />
<input type="hidden" name="return" value="en/results" />
<input type="hidden" name="site_id" value="1" />
</div>
Clock Custom A1123
Model: A1233
Size: 24*24*353
Weight: 35kg
Material: Wood + Acrylic
Price: $35
</form>" size="30" maxlength="100" onFocus="doClear(this)" >