Saturday, December 31, 2011

Ways to enable html in LotusNotes form


We can enable html to a form in the following ways.

Way 1: Enter your html in form inside the square bracket"[ ]".
Example:
[<html>
<head>
</head>
<body>
.......
</body>
</html>]
Way 2: Enter the html in the form and select all html code and goto "Text" menu and click "Pass-Thru HTML". It will render them as html when viewing in browser.


Way 3: Enter the html in the form like typing in notepad and goto "Form Properties" --> in "Defaults Tab" --> "On Web Access" --> "Content Type" --> "HTML".
Set content type as Html. Then it will assume as HTML document.



Note: If you want to view the Html output in client, you just enable "Render pass through HTML in Notes" in "Form info" tab of "Form Properties".

No comments:

Post a Comment