Home Forums Front-end Issues Display value of all checked items?


Display value of all checked items?

  • Hi there,
    I’m trying to display the value of each checked item (field name is “tech_options”). This is what I’ve tried, but it just displays ‘Array’:

    $tech = get_field('tech_used');
    $string .= '<div class="comb"><img src="' . $thumb_url . '"><span><h3>' . get_the_title() . '</h3>
                    <h4>' .$client_description . '</h4><span class="tech">' . $checkbox_string . '</span></span></div>';
  • Can you supply more of the code. I don’t see where in the code you provided where you are getting the field tech_options or where you are attempting to display it.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Display value of all checked items?’ is closed to new replies.