• I have a ACF field holding a number. When I try and display a single 0, it does not display, whereas other values are OḲ eg:

    The ACF field “number” holds “8”
    [if field=number value=7,8,9]0[else]x[/if] shows nothing
    [if field=number value=7,8,9]00[else]x[/if] shows 00
    [if field=number value=7,8,9]@[else]x[/if] shows @
    [if field=number value=7,8,9]&-#048;[else]x[/if] shows 0

    I can’t see a reason that the number 0 will not display (it does display as an HTML entity, &-#048;) Note that the entity includes a bogus – in order to display here.

    • This topic was modified 5 years, 6 months ago by iantresman.
    • This topic was modified 5 years, 6 months ago by iantresman.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[if] leadings zero bug?’ is closed to new replies.