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!
<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>
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.
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
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
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.
It doesn’t trigger when the dropdown value changes.
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.
Please login or Register to submit your answer