Can you do math on individual check box values from different checkbox fields?

By: Justin Taylor | Asked: 06/12/2023
ForumsCategory: General questionsCan you do math on individual check box values from different checkbox fields?
Justin Taylor asked 1 year ago

Suppose that I have 2 checbox fields, each with 4 checkboxes using separate values.  In a number field, can I add question 1 checked option 2 value with question 2 checked option 4 value? 

From all of the documentation, I cannot see any examples of how to refer to [field-id checkbox-value=some-unique-option-id] and perform math like this:  [field-id checkbox-value=some-unique-option-id] + [field-id checkbox-value=some-unique-option-id] and so forth.

Can this be done?

1 Answers
Justin Taylor answered 1 year ago
For anyone wondering, according to support this isn't possible with check boxes and filter shortcodes. Man, every time I turn around thinking Formidable will be amazing for this or that, I run into all of these weird edge cases. I guess I am trying to use it for more than it is intended.
Victor Font replied 1 year ago

You can do this with jQuery, not shortcodes.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right