How to programmatically calculate the frequency of values in option fields [RESOLVED]

Hi Tim. You will need to do this yourself. You can use the gform_pre_submission filter as the time where you can count up all the values that were submitted to you:

First, add three hidden fields to the form. Those fields will not be visible on the front end form, but you will use them to store the totals for each choice.

In the code you write, tied to that filter, you can count the occurrence of each value, and then store those three values in the three hidden fields. Then you will be able to use those values in conditional logic in your notification email or your confirmation, to tailor the content based on the frequency of the submitted values.

If you need help with the code, once you get started, please let us know.