Okay
  Public Ticket #2697698
How to use wpDataCharts with Gravity Forms dropdown fields
Closed

Comments

  •  4
    Sebastian Gendry started the conversation

    Please help me understand if/how I can use the wpDataCharts with my Gravity Forms database. I have a few text fields (strings) and mostly dropdown lists (strings too) - no number fields. (How) Can I get wpDataCharts to recognize my dropdown fields, count how many of each of the different options are in each, and give me a chart that counts how many entries there are for which option?

    Thanks!

  • [deleted] replied

    Hi Sebastian

    Thank you for reaching out to us.

    Unfortunately this is not possible with the plugin's built in features.

    You can not have multiple string type columns in charts. You would have to create an integer type column that would count and group the entries so you can create a chart showcasing the collected data.

    For example if you want to show how many bananas has John bought you will have to have a column called Bananas where the entry would be 1 for each purchase, then you can Enable grouping to show all values of the same label summed up.

    9646951979.png

    3968204320.png

    7903747519.png
    9460464537.png


    I hope this helps, please do let us know if there is anything else we can assist you with.

  •  4
    Sebastian Gendry replied

    Thank you.

    Kindly help me understand how I can make this work with Gravity Forms for my particular needs.

    As I currently understand it,

    #1 This is not going to work with dropdown fields with checkboxes, ever. Yes?

    #2 This is only going to work with dropdown fields with radio buttons that have an associated quantity field (integer). Yes?

  • [deleted] replied

    You are most welcomesmile.png 

    You can use check boxes for the string type column only as there has to be an integer column involved, for example we can use the Number option in the gravity Form to collect specific information, but once again there has to be an integer column involved as you mentioned below as well.