1

I need to show how much rows in the entry have "ON" state. I could not find any tag in documentary.

1

If you're looping channel entries you could add a second loop to grab the "On" entries...

{!-- first loop to display entries --}
{exp:channel:entries channel="mychannel"}
  {title}
{/exp:channel:entries}

{!-- second loop to grab 'on' entries --}
{exp:channel:entries channel="mychannel" search:your_switch_field="ON"}
  {if count == total_results}
    {total_results}
  {/if}
{/exp:channel:entries}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.