I have a form with a computed hidden field called ‘username’. It’s formula is @username. The document is created via lotuscript. When I open the document from the browser side, the value of ‘username’ is the ID that created the document. The value doesn’t change until I save the document, at which point the value changes to the ID of who’s logged into the IE session.
I’m doing the save via a pass-thru html button that calls a javascript procedure. I have tried putting window._doClick(‘$refresh’,this,null);in those procedures, but then the form doesn’t close after it has been saved.
A couple of other things to note:
– There aren’t any editable fields on the form when the user clicks on this button - that’s all I want them to have to do.
– Automatically Refresh Fields is ‘checked’ for this form.
– Generate HTML for all fields is also ‘checked’
– REMOTE_USER is also a field on the form and it doesn’t display a value until it has been saved on the web. Seems like that should fill in every time you open a doc from the browser - at a minimum it should fill in when you put it in edit mode.
I have also tried using @eval(@username)in a computed field but that value only gets set once.
Any ideas would be appreciated.