Two HTML Forms on a Web Page?

By default, Notes displays forms on the web with an html wrapping almost the entire body of the page. This is fine, and my document is editable and saves etc etc.

I’d like to add a search box to every web page. This causes a few problems, because you cannot nest html s. To clarify, this is the page structure:

…

…

(as inserted by Notes)

…

(as inserted by me)

…

…

(the bulk of the page)

…

Clearly, putting a just above my search box will close the Notes default form, which makes the search box work just fine, but then the document is not editable.

Is there a way to convince Notes to move the opening tag somewhere else in the HTML? Or do I have to wrap the search box in an “if document being edited, then don’t show this…” type conditional?

Any help greatly appreciated!

Subject: Two HTML Forms on a Web Page?

You have many ways to solve your problem, but moving the default tag , in my point of view/ knowlage, is not an valid solution. 1) You can change your to the end of your form.

(as inserted by Notes)

(the bulk of the page)

(as inserted by me)

2)create a html page whith open your search and open inside a

Subject: Two HTML Forms on a Web Page?

Use CSS to do the job. You can add your search form to the BOTTOM of your web page, then use float: to push it to the top of its container. That can be right to the top of the web page, or below a heading

or whatever. (And yes, escaping the Domino form is valid. This makes your form document.forms[1], which means that you won’t have to adjust any existing JS.)

Subject: RE: Two HTML Forms on a Web Page?

Thanks for both of those ideas - in short, you have to “move” your form into the layout, but leave it at the bottom of the HTML. A bit of a pain, but easily managable.

Thanks again - much appreciated!