Preview HTML in a field

Help,I am trying to have two fields that work together to view HTML in a FORM.

I will not be using any of this code on the web, I am just trying to get a preview of the page.

The first field is a text field where I would enter standard html.

Underneath it is a computed field that would take the code in the first field and display it as a web page on the same form.

Render pass through HTML in Notes is checked.

Store contents as HTML and MIME is not checked.

I read somewhere about putting around a field but I do not know what that means.

I have tried to name the calculated field “HTML”

These are all things I hove found searching on Notes.net

Please help me

I am using 6.5.1

THANK YOU

Subject: Preview HTML in a field

To display HTML in from a computed text use a formula something like this
“h1>Header 1

]”

William

Subject: Preview HTML in a field

I have accomplished this by using a rich text field and compiling the HTML in an external file and importing it into the rich text field.

For Example I have a field on my form which is text called HTMLEntry and a rich text field called HTMLDisplay. I use the following lotusscript in the Queryrecalc of the form:

Dim s As notessession

Dim db As notesdatabase

Dim doc As NotesDocument	



Dim fileNum As Integer

Dim fileName As String

fileNum% = Freefile()

fileName$ = {test.html}





Set doc = Source.Document



Open fileName$ For Output As fileNum%





Forall x In doc.HTMLEntry

	

	Print #fileNum%, x 

	

End Forall



Close fileNum%





Source.gotofield "HTMLDisplay"

On Error Resume Next

Source.selectAll

On Error Goto 0

Source.import "html", filename$



Kill filename