Support » Plugin: Contact Form 7 Database + | CFDB+ » Database Count

  • Resolved isabelk2j

    (@isabelk2j)


    Good Day and thanks for this wonderful plugin. I would like to ask, is it possible to count the number of selected fields by user with this plugin?

    For example if the contact form has a dropdown field that has the following option;
    Cars, Plane and Boat. 7 users selected Cars, 12 users selected Plane and 2 users selected Boat.

    Is it possible to get the value count of this submissions? either via Shortcode or PHP code with this plugin?

    Thanks

    • This topic was modified 1 year, 11 months ago by isabelk2j.
Viewing 1 replies (of 1 total)
  • Plugin Author olivier

    (@mouveo)

    Hello,

    sorry for the delay of our response.

    You can try to use this shortcode [cfdb-count] with filter:
    https://contactic.io/docs/shortcodes/shortcode-cfdb-count/

    [ cfdb-count form=”contact_form” filter=”vehicle=cars” ]

    The advantage of the filter option is that it can support regular expressions and has full filter operators.

    I marked as resolved but if you have another question, ask us!

Viewing 1 replies (of 1 total)
  • The topic ‘Database Count’ is closed to new replies.