Latest update of Calx is now support wider form element including checkbox, radio button and select-box, as previous version only support textbox. By default Calx will assume that unchecked radio button or unchecked checkbox have a 0 value untill you define the data-unchecked value

SUM Scenario with checkbox and radio button

If you have group of checkbox, and you need to calculate all it’s value, we can simply use SUM, and include all checkbox in the group. Since unchecked checkbox will be treated as 0, then x + 0 + 0 + 0 = x

this scenario also apply to group of radio button, say we have 5 radio buttons with one of them is checked, so we can assume that 0 + 0 + x + 0 + 0 = x, where x is the value of checked radio button

but in some case where SUM scenario can’t be applied, and you need to have unchecked item to be treated as other than 0, this scenario can be achieved by adding data-uchecked attribute

above code will tells Calx to treat unchecked radio button as 1 instead of 0.

Working with select-box

Working with select box is much easier, as you only need to provide id attribute for the select element

but unfortunately, multiple select is not supported yet by Calx, maybe next release ;)[/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]