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

Interactive Sum of Checkboxes and Text Fields

Community Beginner ,
Jul 26, 2019 Jul 26, 2019

Copy link to clipboard

Copied

I am needing some help creating a script for an vehicle order form I am working on. Below is the file I have (please do not mind the deleted section as I could not share it online).

The form needs to be able to do the following ...If I check a few boxes on Page 1 (like Ford Ranger and 4x4 option, the Estimated Monthly Lease cost for each -"MC_Truck1 "and "MC_Option_Truck1" which are hidden text fields with numbers) of those boxes will sum up and appear on Page 2 (the "Monthly_lease_value" text field) as a total of the boxes selected.

I  read a thread similar to what I would like to like to use here: Conditional sum field with checkboxes.,but I have tried may ways to adapt the JavaScript to meet my needs with no luck.

Second, I would like to know if I can do the same with words... where If I check a few option boxes on Page 1 (like Meyers Plow option and Salt&Sand option, the hidden text fields -"TF_Option_Plow "and "TF_Option_Sand&Plow"  with words)  will appear on Page 2 (in the "Vehicle_additional_items_requested" text field ) separated by either a comma(,) or the word (and) .

Dropbox - Book4 Forum.pdf

TOPICS
Acrobat SDK and JavaScript

Views

149

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
no replies

Have something to add?

Join the conversation