1

I want to test for a single unchecked checkbox using P&T's field pack checkbox. Anyone know the syntax for this?

3

Looks like you need :selected tag

For use in conditionals; returns whether or not a particular option is selected.

{if '{my_checkboxes_field:selected option="kittens"}' == '0'}
  <p>No Kittens :'(</p>
{/if}
| improve this answer | |

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.