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.

Avatar

Avatar
Validate 1
Level 1
rakeshk21205956
Level 1

Likes

0 likes

Total Posts

36 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rakeshk21205956
Level 1

Likes

0 likes

Total Posts

36 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
rakeshk21205956
Level 1

05-10-2019

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

06-10-2019

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

endif