Copy link to clipboard
Copied
I need to calculate a Total based on 3 checkboxes. I set a value in Checkbox1 and Checkbox2 Properties/Options Export Value. These are fixed values of 23.99 adn 37.99 respectively. I have a 3rd checkbox called Maintenance and a field next to it called Maintenance Custom Price, where the field will be filled in as needed.
I want to add the totals only if checked. Total newbie at Java, tried googling to figure it out myself, not getting it. Any help would be fantastic!!
Thanks.
Copy link to clipboard
Copied
Fortunately, JavaScript is not required to perform such simple calculations.
Just be sure to use "number" formated values in checkboxes: "0987654321" (numbers) and "." (dot) only.
😉
Copy link to clipboard
Copied
Fortunately, JavaScript is not required to perform such simple calculations.
Just be sure to use "number" formated values in checkboxes: "0987654321" (numbers) and "." (dot) only.
😉
Copy link to clipboard
Copied
Right thanks. But in my example I need a 3rd checkbox without a value, the value is coming from a field "Maintenance Custom Price" where the user will type in a value in the field, and I need it to add that field into the total only if that 3rd checkbox "Maintenance" is checked.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more