Support

Account

Home Forums ACF PRO Display all checkbox options but add class to selected Reply To: Display all checkbox options but add class to selected

  • Sorry for constant messages, I’m trying to work on this while I wait on a reply.

    Ok, realized I had a typo on the $value variable, needed to be plural like I used in the foreach loop

    $value = get_field('service_options');

    Should have been

    $values = get_field('service_options');

    That took care of the warning, but is still not assigning the checked class to the ones that are checked.

    Getting closer!