How can I prevent that Domino adds a HTML at the beginning of each document? That’s new in ND6!?
Subject: HTML tag
When you view a form through the web it always does that (version 5 was also).
If you want to create your own form action add at the top of your form that will be used on the web in passthrough HTML:
—cut after this line -----
…
…
…
your code
…
…
-----end ------
You’ll need the two last lines because Domino will add a at the end of the document. So if you want to have a well formed html document you must add the two last lines.
Renaud
Subject: RE: HTML tag
Thanks for help, but I’m not trying to view forms (…?OpenForm) using the browser. I’m trying to open a document (…?OpenDocument). Domino adds in front of my document a HTML tag and at the end the closing tag . And that was new form me in ND6.
Subject: RE: HTML tag
is there something in the document or the notes form which would require an html tag to render – like a button?
Subject: RE: HTML tag
No there is nothing inside so that Notes/Domino should add a tag, only a RichText field, no Action Hotspots nor any buttons
Subject: HTML tag
If “Use Javascript when generating web pages” is checked in the Web Access section of the database basics tab of the Database Properties, then tags will be generated.
Subject: RE: HTML tag
Got it - thanks!
Is there an option to prevent Domino in creating such tag?
Marcel
Subject: RE: HTML tag
Only the one I mentioned about “use javascript when generating web pages”