Help inserting current time to a field via a button click

Community Beginner ,
Jul 11, 2022 Jul 11, 2022

Copy link to clipboard

Copied

Hi,

I am creating a check sheet where the user will input data every hour(ish). I would like to know if there is a way the user can simply click a button each time they do thier check and the selected field is populated by the current time?

 

Thanks in advance.

TOPICS
Edit and convert PDFs , JavaScript , PDF forms

Views

19

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 11, 2022 Jul 11, 2022

Copy link to clipboard

Copied

LATEST

Hi,

I tried something similar in the past, the challenge is that everytime a user opens the form the now() function updates to the new time. I tried several javascript options (not all of them) and I ended up asking users to select the nearest 15 mins time in a list. 

CheckIn-CheckOut systems are a nightmare for that reason.

If you find a solution, please share it in this forum.

Thanks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines