• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

javascript to sum up time

New Here ,
May 31, 2020 May 31, 2020

Copy link to clipboard

Copied

Hi there,

I have an pdf file and I would like to make it a form an sum up the field as minutes notification.

The column ETO should be not exceed 60 minutes. (See attached file) I'm a newbe to javascripting....can anyone help me out?

Best regards

Sylvia

TOPICS
Acrobat SDK and JavaScript

Views

131

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
Community Expert ,
May 31, 2020 May 31, 2020

Copy link to clipboard

Copied

LATEST

You can do a simple Sum. It's available under the Calculate tab in the Properties dialog of a text field.

To limit the value to not exceed 60 is more complicated, though. What should happen if it does exceed it?

Do you want to force the user to enter something else into the input fields? Move the part of the value that's beyond 60 to another field? Something else? Either way, that will require using a script.

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