Highlighted

Script for adding a duration to a time

New Here ,
Aug 10, 2020

Copy link to clipboard

Copied

Is it possible to add a user entered duration to an entered time.

For Example

A field "starttime" entered by a user

A field "enroute" entered by a user

starttime + enroute = newtime

 

starttime is a time in 24hr format

enroute is a duration, 1h 15m for example, which is variable entered by the user up to 8 hours

 

So if starttime is 16:24 and enroute is 1:15, newtime would be 17:39

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

36

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

Script for adding a duration to a time

New Here ,
Aug 10, 2020

Copy link to clipboard

Copied

Is it possible to add a user entered duration to an entered time.

For Example

A field "starttime" entered by a user

A field "enroute" entered by a user

starttime + enroute = newtime

 

starttime is a time in 24hr format

enroute is a duration, 1h 15m for example, which is variable entered by the user up to 8 hours

 

So if starttime is 16:24 and enroute is 1:15, newtime would be 17:39

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

37

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
Aug 10, 2020 0
Adobe Community Professional ,
Aug 10, 2020

Copy link to clipboard

Copied

Yes, this is possible. You can create a script for this.

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
Reply
Loading...
Aug 10, 2020 0
try67 LATEST
Most Valuable Participant ,
Aug 11, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Aug 11, 2020 0