Code for simple search advanced in Lotus Notes

Asked By 10 points N/A Posted on -
qa-featured

I have an obligation to do, something like simple search advanced in Lotus Notes. I need this so the end users can filter the views by seeking criteria that gives runtime program on the customer. They don't need to connect with the designer so you cannot view the selected code. Can you please help me with some ideas, please?

SHARE
Answered By 0 points N/A #92869

Code for simple search advanced in Lotus Notes

qa-featured

To add the search functionality to your lotus notes, you will  need to use some JavaScript codes for that to be implemented. The first thing that you will need to do is to add a call in the onclick event which will be found on the "GO!!" button to the function that you are going to write. The following code represents how the HTML code for the button should look like:

<input type="button" name="Search" value="GO!!" onclick="doSearch(this.form.Query);"/>

  According to the code above, when the button is pressed, it will then call the doSearch function,  and after that it will pass the Query field's object to it. The following is now the function that will help in doing the search:

function doSearch ( s )

{
openDbRelativeURL("All?SearchView&Query=" + s.value);
}

-Thompson Locker

 

Login/Register to Answer

Related Questions