Forums

How to use Radio Button Group for calculation

omidhz 24 Nov, 2018
In the FAQ Creating a calculation form in Chronoforms6 I know how to create a calculator that uses the values in a field for calculation. How can I use the value from Radio button groups to do the same? For example, if I have two radio button groups (group1 and group2) and each has two options, and the value for each option is a number, I need to display the total of the values from both groups.

Thanks
healyhatman 24 Nov, 2018
Answer
jQuery('input[name="radio_field_name"]:checked').val() 
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}