Sorry really dumb moment trying to create a web agent with fields in

Apologies in advance for this but (being rather new to LotusScript) I have successfully created an agent which writes a text file when a web form (document) is opened.

However my attempts to add the value of some text fields to it aren’t working can someone give me a one line example of how to include a field value amongst some text?

Many many thanks …

Subject: sorry really dumb moment trying to create a web agent with fields in

You can can a handle on the document and it’s field values like this…

dim s as new notessession

dim doc as notesdocument

dim sValue as string

set doc = s.documentcontext

sValue = doc.getitemvalue(“myField”)(0)

HTH

Andrew