wordpress-org
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms Charts Reports] Custom Search Criteria with Multiple FiltersResolved 🙂
Thank you again for the great support!Forum: Plugins
In reply to: [Gravity Forms Charts Reports] Custom Search Criteria with Multiple FiltersTHANK YOU SOOOOOO MUCH!!!
I am super grateful for your help.Forum: Plugins
In reply to: [Gravity Forms Charts Reports] Custom Search Criteria with Multiple FiltersOK, I figured it out, now the values are correct, I just need to replace the hardcoded ([email protected]) email with the email for current user:
[gfchartsreports gf_form_id=”24″ include=”1″ type=”doughnut” custom_search_criteria='{“field_filters”:{“0”:{“key”:”3″,”value”:”[email protected]”}}}’]
Forum: Plugins
In reply to: [Gravity Forms Charts Reports] Custom Search Criteria with Multiple FiltersI was trying this but is not working :(((
[gfchartsreports gf_form_id=”24″ include=”1″ type=”doughnut” custom_search_criteria='{“field_filters”:{“key”:”3″,”value”:”username”}}’]
Forum: Plugins
In reply to: [Gravity Forms Charts Reports] Custom Search Criteria with Multiple FiltersThank you for your prompt reply.
Using the standard GF API filter Entries by Meta (see below) how can I filter results if I only want the results where the form field’s submitted {email:3} value, equals (a specific email address, in my case) the current user’s username. (in my case the username is an email)
custom_search_criteria='{”field_filters”:{“ ? ”:{“key”:” ? ”,”value”:” ? ”}}}’
______________________________________________________________________
STANDARD GF API:
Filter entries by Entry meta (added using the gform_entry_meta hook)
$search_criteria[‘field_filters’][] = array( ‘key’ => ‘gquiz_score’, ‘value’ => ‘1’ );______________________________________________________________________
Thank you,
Joe