Support

Account

Home Forums Front-end Issues Value return number(index) instead word's Reply To: Value return number(index) instead word's

  • Hi @mczmike

    So if I understand you correctly you want to display the values from a multiselect. Have you tried taking a look at what your get_field function returns using print_r()?.

    You should be able to do a foreach loop like:

    
    $values = get_field('myfield');
    foreach( $values as $value ){
    	echo $value;
    
    }