Custom search criteria – Filter by Field Values

Custom search criteria – Filter by Field Values

After an interesting question from academicdigital on the support forum, i would like to show now how to filter results by field values.

Show results of field number “2”, but only for users that have answered “10” to field number “3”

[gfchartsreports color_rand="true" include="2" chart_js_options="title: {display: true, text: 'Filtered: have answered 10 to question of field 3'}" custom_search_criteria='{"status":"active","field_filters":{"0":{"key":"3","value":"10"}}}' float="true" type="doughnut" height="400px" ][gfchartsreports color_rand="true" chart_js_options="title: {display: true, text: 'NOT Filtered: all answers'}" include="2" float="true" type="doughnut" height="400px" ]

About The Author

Leave Comment