Skip to main content
Participant
Dec 2, 2024 9:40 PM UTC
Question

Checkboxes to activate number and add

Hello.

Totally new to java script for forms.

I have a list of checkboxes that, if selected I want to activate a number field that will be included at a Total amount for different charges.

I have figured out the bottom three boxes, but I want the first two to only be included in the TOTAL addition IF they are checked.

Thank you

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

try67
Community Expert
Community Expert
Dec 2, 2024 10:03 PM UTC

Set their export value as "1" and then use a Simplified Field Notation formula where you multiply them by the text fields they are associated with. So something like this:

(CheckBox1 * Text1) + (CheckBox2 * Text2) + Text3 + Text4

Translate