Okay
  Public Ticket #3620529
Gravity forms survey field support
Closed

Comments

  • Karie Barrett started the conversation

    Is WPDatatables compatible with the Gravity Forms survey field type? I have tried selecting a single survey field and a couple of demographic items to create a table to display how many people answered the question and which option on the Likert scale they selected, but there does not be any way to make it work. If it is supported, can you provide a link to a tutorial? All I get is an endless processing circle.

  •  1,845
    Miloš replied



    Hi Karie,

    Sorry to disappoint you, but at this time, we don't have any built-in solution to achieve this.

    At the moment, as we mention on the Documentation, Gravity Forms integration add-on is working with wpDataTables plugin and the core Gravity Forms plugin. 

    However, integration with other Gravity Forms add-ons isn’t confirmed, so we cannot guarantee that it will work.

    4180832127.png

    You can suggest it to our developers, though - they will do their best to add a solution for your use case, we just can't say an ETA on it.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    -

    If you have coding skills and wish to try to make a custom solution now,

    you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.

    Please be advised that custom solutions with hooks are not included in our support.

    You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.

    ( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)


    For the time being, I will show you an example 'as close as possible' to a Survey use-case and how you can present how many times each choise repeats on a Chart.

    This is an example where a user needed to make a Survey Form via "multi-select field", and each user would have multiple choices,

    which gets saved by the Form,

    they wanted to make a summed up Chart that shows how many times each choice will repeat.

    -

    We solve this by adding a hidden number field to the Gravity Form,

    that will always have a predefined value of 1 to prepopulate every row of data and it will be used as a "counter" for how many times each choice will repeat.

    Here is my basic example,  i have a multi-select field in a Gravity Form, 

    and we add a hidden number field :

    1476878896.png

    Then I made a few choices by the visitors, on the page with the Form to populate some data.

    This is the linked table :

    8607598731.png

    Now, we will make a chart , and we enable "Chart Grouping" , so that all values that have the same value will group up to add up how many times they repeat  for the chart.

    Here is an example of a pie chart from the data,

    3833896169.png

    and here is an example with a Bar chart

    1645498782.png

    So, this is the only way currently, it can be presented on a Chart;

    but we can't use SUM on String/text data in a table.

    In our tables, you can only use Calculation functions on numeric fields ( integer or floats).


    I hope it helps as an alternate workaround.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables