I am trying to create a search field and button (actually a link) on every page of a website database. All of my pages “?OpenDocument”, so I am creating the search field using pass through HTML… . I am having trouble getting the search to “go”… the search works if I just key in the URL… I just can’t get it to go from my website pages using the “Go” button/link that I created.
Here is the code for my “Go” button… Go
This is my code for FieldsOk() function…
function FieldsOk() {
document.location=“http://servername/dbname.nsf/$$SearchTemplateDefault?OpenForm&QueryString=”+document.forms[0].query.value
}
I cannot get this to work… I also need it to work when I hit the “Enter” key…
Does anyone have any suggestions for this. I have been searching this forum and Notes 4/5 forum all day…
Thanks!