Support

Account

Home Forums ACF PRO True/False – No Value for False Reply To: True/False – No Value for False

  • when I var_dump the variable to see what the unchecked boxes value is it says false or null

    The false return is from a post that has had the box checked, updated and then unchecked and updated. the null return is from posts that have not been updated.

    Your code is logical but the database is not recording a 0 value for an unchecked box and I can’t go through every post and tick the box and save and then untick the box and save just to get it to reflect some value.

    If you have any other ideas I’d love to see them. Thanks for your help!