Hi
I'm trying to accomplish a seemingly simple task, that is, to set the value of a field to the current date when the document is opened.
I've tried numerous variations using javascript and a "calculated" value, no effect.
I am able to set the value using a triggered script, such as Mouse Enter, so I know the js is working. But as a Calculated Value, I can't seem to get the right syntax.
My other guess would be to trigger a script when the document opens, but I can't find a way to do that either. I tried using "Document Javascript", but nothing triggers.
Thanks!
I'm trying to accomplish a seemingly simple task, that is, to set the value of a field to the current date when the document is opened.
I've tried numerous variations using javascript and a "calculated" value, no effect.
I am able to set the value using a triggered script, such as Mouse Enter, so I know the js is working. But as a Calculated Value, I can't seem to get the right syntax.
My other guess would be to trigger a script when the document opens, but I can't find a way to do that either. I tried using "Document Javascript", but nothing triggers.
Thanks!
Comment