Counting two IDs

By: Francesco Russo | Asked: 11/03/2024
ForumsCategory: General questionsCounting two IDs
Francesco Russo asked 2 months ago
Hello everyone,
I would like to add a counter to a view that counts how many pairs there are for 2 different ids.
How can I do it? I hope I was clear
Thanks
Francesco
2 Answers
Victor Font answered 2 months ago
I have no idea what you mean by "counting pairs". What is your goal?
Francesco Russo answered 2 months ago
With a Formidable module I create events, where users registered to the site sign up. I would like to know how to count the pairs record EVENT_ID and USER_ID, so as I know the total number of people registered for that event   I hope I was clear.
Francesco Russo replied 2 weeks ago

Thanks Victor 🙂

Where do I insert the part of the code to make the counting work?

Francesco Russo replied 1 week ago

Thank you, you were very kind.

I ask you for further help, I have a form to register users of my site to events.
Every time a user registers, formidable creates a page that lists all the participants, example:
Francesco Esposito
Gerardo Coppola
Rosa Massa

Is it possible to count the users present on this page automatically?

Victor Font replied 1 week ago

I don't know what page you are referencing when you say "formidable creates a page". Formidable doesn't create pages.

Francesco Russo replied 1 week ago

sorry, it's not a page!
formidable creates a view that lists all the participants
es view:
Francesco Esposito
Gerardo Coppola
Rosa Massa

Is it possible to count the users present on this view automatically?

Rob LeVineRob LeVine replied 6 days ago

If you have a view and you want to count the number of entries displayed in it, use the shortcode entry_count as seen here - https://formidableforms.com/knowledgebase/insert-fields/#kb-entry-count

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