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

Calculating checkbox on checking the preset value

New Here ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

Hi I am very new with Javascript

Kindly need your support i have 4 check box options which the value is set for each check boxes 

once checking the checkbox the value for the same should shown in the textbox.

Also if they checked two checkboxes the value for the same should calculate below.

TOPICS
Acrobat SDK and JavaScript

Views

43

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
New Here ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

Laptop  Check Box 1               Value 50$

Mobile Check Box 2                 Value 25$

Desktop Checkbox 3                  Value 20$

 

On clicking the checkboxes the value should shown below. However, even they can select the all three check boxes which needs to be calculated below.

Charges for checkboxes (                      )

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
New Here ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

image.png

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 ,
Aug 25, 2022 Aug 25, 2022

Copy link to clipboard

Copied

LATEST

Apply those prices as the export values of the check-boxes (just as numbers) and then you'll be able to use the built-in Sum option under the Calculate tab of the text field to sum them all up.

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