I’ve basically created a document library on the web which pulls in embedded views through a $$viewtemplatedefault form. On this form I also have a field with a search button that has the following code in it:
if(document.forms[0].KeyWord.value != “”) {
var key = document.forms[0].KeyWord.value;
var view = document.forms[0].viewName.value;
urlcommand = view + “?SearchView&Query=” + key;
window.open(urlcommand,‘_top’);
return true;
}
Now I also have a $$searchtemplatedefault form that shows the results that this button creates.
I would like to do two things:
-
Give the user the ability to refine their search by searching for additional words while they’re in their search results.
-
Be able to search through not just the subject of the documents, but also the date the documents were created.
-I typed in the dates and no results come up.
Any suggestions?