I am a kid in Lotus Notes.User need to see the Time dynamiclly. I tried but i am not able to do. PLease any of you help me on this. Need to display time dynamiclly like running once the button is clicked.
Subject: javascript
Look for a javascript script to display that. I’m sure you could write something in lotusscript, but the constant refresh would be a lag. Better to write in js and just have it displayed. you can use a js to save it out to a field later, if you need to, before calling the save agents/validation/whatever. Example: Online Timer Javascript
Subject: Javascript timer bug if used for long period
If you try and display the time and call updates very frequently, after a while the users will notice that Notes is using 50%+ CPU and freezing.
I tried only updating for the minute changes rather than seconds, but this just delayed on onset of the problem. IBM investigated and advised there was a problem with the way the Javascript timer was handled.
I had the time permanently in the banner of an application. This could be open for a whole day and overnight if the user did not shut-down, so using a short term timer that the user starts and stops may avoid hitting this issue.
On another occasion I tried to use the timer to capture the Return Key being pressed in a field to simulate a Web Page ‘submit on return key’ within a Notes Form. This also experienced the timer bug.