Gravity form database table field
-
Hello there,
We have Maxicharts Gravity Form plugin which works great! But recently hit into an issue and not sure if this can even be achieved using Maxi-charts and it’s custom_search_criteria parameter.We have a Gravity form with a dropdown field (like an Object Type field) that get’s its value directly from a database table (tbl name: test_list; fields: id, name, division) and are trying to get a horizontalBar graph based on that field.
So, the values in DB table are
1 Test 1 10
2 Test 2 20
3 Test 3 30Using the below short-code, but doesn’t work.
[gfchartsreports gf_form_id="10" include="91" type="horizontalBar" height="500px" chart_js_options="title: {display: true, text: 'Staff by Division', fontSize:28,fontColor:'#005eb8',fontStyle:'bold',padding:20}"]
This simply shows no graph and random values (First Choice, Second Choice, so on on Y-Axis and 0, 0.2, 0.4, 0.6 on X-Axis)
Is there a way to produce graphs for fields that dynamically get values say from a database table?
- The topic ‘Gravity form database table field’ is closed to new replies.