Chart for a single response

By: Joanne Sparkes | Asked: 11/01/2022
ForumsCategory: How-toChart for a single response
Joanne Sparkes asked 2 years 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 2 years ago

You'll need to figure out an intuitive way to make use of the entry key: https://formidableforms.com/knowledgebase/graphs/#kb-entry or get the field ID of the user ID field for the form and use that in this case: https://formidableforms.com/knowledgebase/graphs/#kb-field-is-equal-to

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: https://formidableforms.com/knowledgebase/user-registration/#kb-autopopulate-forms

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
crossarrow-right