How to add a number of days from an inputed date?

Explorer ,
Oct 12, 2018

Copy link to clipboard

Copied

I have three fields in my PDF form.

1st Field : CurrentDate (format date)

2nd Field : Number of Days (format numeric)

3rd Field : ExpiryDate (format date)

What I would like to happen is when I input a date in CurrentDate, the ExpiryDate will be computed using the formula below:

ExpiryDate = CurrentDate + Number of Days

Thanks in advance.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

83

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

How to add a number of days from an inputed date?

Explorer ,
Oct 12, 2018

Copy link to clipboard

Copied

I have three fields in my PDF form.

1st Field : CurrentDate (format date)

2nd Field : Number of Days (format numeric)

3rd Field : ExpiryDate (format date)

What I would like to happen is when I input a date in CurrentDate, the ExpiryDate will be computed using the formula below:

ExpiryDate = CurrentDate + Number of Days

Thanks in advance.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

84

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
Oct 12, 2018 0

Have something to add?

Join the conversation