Ultimate Database | ||
|
|
Search Form{SEARCH(n1,n2,c1,c2,c3,n3,n4,n5,n6)}Displays the search box and associated fields. 'n1' is the list or lists to be searched. If multiple lists are to be searched, separate them as follows; x1;x2;x3. 'n2' is the relationship id to the text of each item in n1. Also separate them as follows y1;y2;y3.
'c1' is the DIV id of the place on the page where the results are to be shown. eg if you specified S_RES then on the page you'd need a div with ID="S_RES" at the place where the results are to appear. Similarly, 'c2' is the DIV id for the place where any hyperlinks from the list of results will display their results. eg, the search gives a list of stories further down the page. Clicking on the title of one then displays that story at the point of the c2 DIV. And 'c3' is the DIV (or span) id where the final result page title is to be inserted. 'n3' is the mode. If it's '1' then it's 'Full' i.e. all search options are displayed. If greater than 1 then it reduces what is displayed, and the number is the number of characters in the search box. 'n4' is the display option for the list control icons - same as in ULT_LIST. 'n5' is the object id of the limiting relationship, eg the status. 'n6' is the actual limiting object. See the Search Page for an example of how to use this function. |
Useful Links
|