Print Page | Close Window

Check Box Result Triggers a change in a different

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
Printed Date: 13 Dec 2019 at 3:55am
Software Version: Web Wiz Forums 11.10 -

Topic: Check Box Result Triggers a change in a different
Posted By: antd
Subject: Check Box Result Triggers a change in a different
Date Posted: 19 May 2015 at 5:01am

Ive had a customer request a "RISK RATING" which is currently set to High Medium or Low be automatically changed depending on how many check boxes are checked in a previous part of their form.

From what I have read/googled/researched, it seems it may only be possible with Javascript... which is where my problem starts!  I struggle with Javascript.

What I am wondering is if it is possible to have a script that calculates a series of check boxes and changes the results of 1 of 3 checkboxes in another section (those 3 being High, Medium or Low).  It would be something like:

0-3 = Low
4-7 = Medium
7+ - High

Any assistance would be greatly appreciated.

Posted By: try67
Date Posted: 19 May 2015 at 10:56am
It's possible, but tricky, since check-boxes don't have a calculation event associated with them.
I would use a (hidden) text field to calculate the total number of check-boxes ticked and then use that value to check the "result" boxes, if you really want to use them.
If you specify the names of the fields involved I could help you with the script itself.

- Acrobat Expert - Contact me personally at
Check out my custom-made scripts website:

Posted By: antd
Date Posted: 19 May 2015 at 12:16pm
Thanks for your assistance, the fields are quiet diverse (and a little sensitive) but for the sake of the exercise Ill simplify them as follows: 


Then we have a Radio Button Group called "RiskRating" with three choices "High", "Medium" & "Low"

Does that help at all?

Cheers again. Ant.

Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -