Updating a Web Forms Field from An Agent

I have an agent that is being run on “WebQueryOpen” and want to know how I can populate a field on the form with the result of the agent.

Is this possible?

Subject: Updating a Web Forms Field from An Agent

NotesSession.Documentcontext is the key here.

set Notesdocument = NotesSession.Documentcontext

call Notesdocument.ReplaceItemValue(“fieldname”, value)

Just like with any other document.

/Peter