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

Java Script for adding value to a text box if another box is checked

New Here ,
Oct 28, 2021 Oct 28, 2021

Copy link to clipboard

Copied

Hello, Java Script novice here. I've seen a few posts with this same question, but haven't quite gotten it to work yet. I have some fillable forms in which I would like an amount to populate in the corresponding text box when checked, but would like it to remain blank when unchecked. I would also like to have a total populate at the bottom depending on which boxes are checked, to be added to a base price. I was able to get it to populate the amount once it was checked, but then if I unchecked the box, the amount would stay in the field. I'm a complete beginner, so if I could be able to cut and paste a script that would really help. I have included one of the forms as a reference. Thank you in advance for any help you can give.

TOPICS
Acrobat SDK and JavaScript

Views

81

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 ,
Oct 28, 2021 Oct 28, 2021

Copy link to clipboard

Copied

LATEST

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