Support

Account

Home Forums General Issues If a checkbox value is checked Reply To: If a checkbox value is checked

  • Isn’t it so that when jut one checkbox has been checked the return is not an array but rather just a string.. So if you know that your user will always just check one (if so Id use radiobuttons instead) you should just check it like a regular string..

    
    <?php if ('in_stock' == get_field('stock')) { ?>   
    
    STUFF HERE
    
    <?php } ?>