search field
Inserts a simple search field. The field can be pre-filled with a message such as "enter search term..." that disappears when the user begins to type. The field auto-submits itself when the user clicks out of the field or presses "enter" on their keyboard.
Also see the search box include if you desire something more.
CODE
<cfinclude template="#include#/searchfield.cfm">
Optional Parameters:
attributes.defaultSearchstring - defaults to resource bundle value searchTermValue
CSS
/* --- Search Box --- */
#searchBox
HTML
<form id="searchBox" action="#">
<input type="text" name="string" value="search..." class="formfield" ...>
</form>


