Custom Search Criteria – Display only logged-in answer

Custom Search Criteria – Display only logged-in answer

If you just want to show logged-in user data, restrict fetched data to submissions created by current user.
Be carefully as no submission will lead an empty chart to show up…

Shortcode with filter

[gfchartsreports gf_form_id="7" type="doughnut" height="400px" include="1" custom_search_criteria='{"status":"active","field_filters":{"0":{"key":"created_by","value":"current"}}}' ]

Filtered Chart

Non-Filtered Chart

Similar Posts:

About The Author

Leave Comment