HCG Web Services Documentation
6 July 2009 • Version 1.0

Search Example 2

This is sample code for a search start form that you might want to have somewhere else on your site. It is a simple form that points to the main search page. Here is the code in action:

The code

This Javascript call is needed for the auto-replace feature of the form. Put it in the <head> section of your page.

<script type="text/javascript" src="http://resources.hcgweb.net/rtags/js/search.js"></script>

This is the form code used on this page.