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

Keep date calculations set after filling in

New Here ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

I have a form that with a due date field that is read only and a calulation that info is due 2 weeks after filling out this form.  Once submitted I don't want this field to change as it is set to add 14 days to today.  How can I do this?

TOPICS
Acrobat SDK and JavaScript

Views

298

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

correct answers 1 Correct answer

Community Expert , Oct 23, 2020 Oct 23, 2020

You can do it by adding a (hidden) check-box to the file and tick it when the Submit button is clicked, and then adjust the calculation code of the text field to only update it if that check-box is not ticked.

Votes

Translate

Translate
Community Expert ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

You can do it by adding a (hidden) check-box to the file and tick it when the Submit button is clicked, and then adjust the calculation code of the text field to only update it if that check-box is not ticked.

Votes

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
New Here ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

LATEST

Thank you try67.  That should do it.  Don't know why I couldn't think of that!  🙂

Votes

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