New Response

« Return to the main article

You are replying to:

  1. Thanks Jake.

    I'm a novice to JavaScript as well. I pasted the second function directly under the DoSearch() function in the JSHeader. Is that right?

    Also, I added the $$HTMLHead shared field at the top of the form which also has code from other forms in the database. I scrolled to the bottom of the code and added

    "<script>var isDocBeingEdited = " + @If(@IsDocBeingEdited; "true"; "false") + ";</script>"

    and get an error message: "An operator or semicolon was expected but was not encountered."

    Also, is $$ViewTemplates a view that I have to create?

    Basically, I have a frameset with a bunch of linked Forms in the main frame and want to create a search to search for text within those Forms. Does this make sense? Am I going about this the right way? Thanks Jake!

Your Comments