Chart for a single response

By: Joanne Sparkes | Asked: 11/01/2022
ForumsCategory: How-toChart for a single response
Joanne Sparkes asked 1 year ago
Is it possible to show a chart on an output view, not of all the entries for a form, but from calculated fields of a single user? e.g. if I want to make a bar chart of calculated number fields from a single submission.
1 Answers
Bobby Clapp answered 1 year ago

You'll need to figure out an intuitive way to make use of the entry key: or get the field ID of the user ID field for the form and use that in this case:

However, I believe formidable gets the formidable user ID (numeric) by default and displays user meta instead (via php on the numeric ID). If you want to use user meta, you'll have to work with this:

So them maybe something like:
[frm-graph fields="64" user_id="current"] or [frm-graph fields="x" y="[user_meta key=user_email]"] (x is the user ID field and y is a field ID that holds maybe the user email).

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community