Reply To: Enter predefined text in searchbox

Home Forums Support Enter predefined text in searchbox Reply To: Enter predefined text in searchbox

Home Forums Support Enter predefined text in searchbox Reply To: Enter predefined text in searchbox

#151296
tenchystryder

I used something like this.

Original line

<input type="text" class="textfield" name="q" size="24" />

replace with (change as required)

<input type="text" class="textfield" name="q" size="24" value ="CHANGE THIS TEXT" onfocus="if(this.value=='CHANGE THIS TEXT')this.value=''" />

You might have to play with it but don’t alter the original searchform.php file