Need help on richtextitem value issue

Issue:I have an webpage form which contains the richtext field in which the page content will post. That contant will be there in other notes document as richtext item value.I am trying to get that richtextitem value from that document and put in the richtext field in webpage form to publish on web.

But nothing I am getting there. I reffered in notes help wrote the code. But not working.

can any one help me. please suggest me whats the better way.

Subject: need help on richtextitem value issue

What is the code you wrote?