• atechguy

    (@atechguy)


    Hi there,

    Very lovely plugin.

    I have a quick question, i have a form that has a dropdown with multiple labels. I can’t seem to be able to get this working, it sums up to zero (0).

    [gravitywp_count formid=’12’ number_field=’31’ filter_field=’31’ filter_value='Rejected’ filter_field2=’31’ filter_value2='Not taken up' filter_field3=’31’ filter_value3='Claims fall within Excess' decimals='' dec_point='' thousands_sep='']

    Please kindly point me to the right direction.

Viewing 1 replies (of 1 total)
  • Plugin Author GravityWP

    (@gravitywp)

    Hi there, glad you like it! While it is a little gem it also has certain limitations…

    In case of a dropdown field there is a difference between the choice label and the value. When filtering or adding up a dropdown field only the value will be used.

    It seems you are both counting and filtering the same field. Filtering also only works with the value, not the label.

    Also, both filter1, filter2 and filter3 will be applied (logical and), which will always result in 0 results when you filter the same field with different filter values.

    I hope this helps to find another approach for your challenge!

Viewing 1 replies (of 1 total)
  • The topic ‘Count multiple labels in dropdown’ is closed to new replies.