Support

Account

Home Forums General Issues Hiding custom fields using conditional logic? Reply To: Hiding custom fields using conditional logic?

  • Hi @davidr

    If you don’t mind the link input field visible on the backend, you can always use the True/False field. With that field, you can check if the checkbox is checked or not like this:

    if( get_field('true_false_field_name', $id) )
    {
        echo get_field('biography_field_name', $id);
    }

    I hope this helps 🙂