Hi,
I have a code to display the total number (count) of page under a certain template but i would like to display the count on some field.
The code i use for page count:
<?php
$countdemande = $page->count("template=v2-bs-demandes-recrutement, include=all"); {
echo "$countdemande"; }
?>
Now i would like to do the same thing for some fields (options, checkboxes, radio) and display the number of time an option was selected.
ex.: Option field with multiple choice
option 1
option 2
option 3
How can i display the count (number of time this option was selected) of option 1 ?