How do I … show/count how often a Field value was chosen?

Events Made Easy Forums How do I … How do I … show/count how often a Field value was chosen?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #61483
    JanD
    Participant

    In the registration form of an event is a radio or dropdown field where people have to chose one option (for example: A, B, C)

    With [eme_bookings] I use a template that lists these decisions like <li>#_RESPFIRSTNAME likes #_FIELD{23}</li>.

    Is there a chance to count how often every option is chosen to show in a way like this:
    A: 3
    B: 5
    C: 0

    or even like this:
    A: #_RESPFIRSTNAME 1, #_RESPFIRSTNAME 3, #_RESPFIRSTNAME 8
    B: #_RESPFIRSTNAME 2, #_RESPFIRSTNAME 4, etc.

    I rummaged around a bit in the documentation, but didn’t get any clue. I thought about something like [eme_if tag='#ESC_FIELD{23}' value='A']#_EME{1}+1[/eme_if][eme_if tag='#ESC_FIELD{23}' value='B']#_EME{2}+1[/eme_if] etc.

    #61484
    Franky
    Keymaster

    Sorry, but that’s not possible with just EME. Maybe the EME hooks can help, but it is not an easy thing.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.