search interface

search interface

 Hi,

 I’ve successfully created a search page with html views. The search page allows our users to type in a keyword from any of these fields, Requestor, Request Details and Response.

The script is –

<%for each find in Add_a_reference_request  [((Requestor.contains(input.searchStr) || Research_Request_Details.contains(input.searchStr)) || Response.contains(input.searchStr))]...

 What I like to do is to create a Boolean expression for the search. If a user types in a requestor’s name and a keyword from the response, it’ll fetch the record with the specified criteria. I tried using the && to combine the fields but it doesn't seem to work for me.

 Could someone please help me out? Many thanks in advance.

Kerry