Inquiry About Generating Class Summary Report

By: Cory Smith | Asked: 11/30/2024
ForumsCategory: General questionsInquiry About Generating Class Summary Report
Cory Smith asked 2 months ago

Hello everyone,

I have a form for my class that contains the following fields:

Student Name

Class Name

Class Level: A / B

I need to generate a summary report that shows the total number of students in Class A and Class B.

Appreciate any guidance or suggestions!   Thanks in advance!

2 Answers
Rob LeVineRob LeVine answered 2 months ago
Try using frm-stats
Cory Smith replied 1 month ago

<p>Is there a way to have a field on a form to get the total number of students from another form, I don't want to put it in a view.</p>

Bobby Clapp replied 1 month ago

What kind of field are you expecting the value to show up in and for what purpose? Maybe put that shortcode in an html form field if you just need to display the count or total value in the form.

Cory Smith replied 1 month ago

I have another form with lookup field of classes names and a text field read only that shows the total number of students, and some others fields that will be filed

Cory Smith answered 1 month ago

I used this short code in a form but it didn't work

[frm-stats id=14 type=total 15=17]
14= Student name field
15= Class name
17= Drop-down with class names

Bobby Clapp replied 1 month ago

If 17 as a numeric value is a class name for the drop down that will work. Otherwise it can't be dynamic. You have to feed 15= a specific value. Like 15="science". Also, when your trying to use a shortcode within another shortcode it would also have to be enclosed in brackets.

Cory Smith replied 1 month ago

It doesn’t trigger when the dropdown value changes.

Victor Font replied 1 month ago

Form stats shouldn't change when a drop down value changes. frm-stats runs on the server. Changing a dropdown value is browser based. If you're trying to do real time calculations based on multiple entries, use Ajax.

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