Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Livecycle Form: Display current time (when file is opened) and make it static to show time which was at the time of opening of file.

Level 3
Level 3

How to display the time when the file was open and keep that time only, I have used the inbuilt Date & Time Field and use RunTime Property, now what happens is ..when document is opened it shows the current date and time.. but it time keeps on running. I want to make it static once the file is opened it should stay same till the file is closed and should remain same if it is opened next time also.

For ex- if i open the file on date: 01/01/2019  time : 15:00, and i keep it open for say 2 hours, still it should show date: 01/01/2019  time : 15:00, and after closing the file when i open it on say 3 days later it should still show date: 01/01/2019  time : 15:00,.

Thanks in advance

1 Reply
Level 10
Level 10

You need to check, if the field is already filled or not.

// JavaScript

if (this.isNull) {

  // Put your existing script here


; FormCalc

if ($.isNull eq 1) then

  ; Put your existing script here