ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Conditional not working in checkbox tag pair

September 19, 2013 5:04am

Subscribe [1]
  • #1 / Sep 19, 2013 5:04am

    absolutedesign

    1 posts

    I’m using version 2.7.0 and can’t get conditionals to work with checkboxes:

    {checkbox_field}
        {if item == "A"}
            This is A
        {/if}
    {/checkbox_field}

    Renders as:

    {if "A" == "A"}
        This is A
    {/if}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases