Support

Account

Home Forums Add-ons Repeater Field how to pull values of selected multiple colors created using repeater field,

Unread

how to pull values of selected multiple colors created using repeater field,

  • how to pull values of selected multiple colors created using repeater field, i trying with the code below but its not displaying all the colors. the main field is colors and the repeater field within it is color options

    while( have_rows('colors') ): the_row();    
        $coloroptions=get_sub_field('coloroptions',$post->ID); 
        $selectedcolors=$selectedcolors." , ".$coloroptions;
    endwhile;
    echo $selectedcolors
Viewing 1 post (of 1 total)

The topic ‘how to pull values of selected multiple colors created using repeater field,’ is closed to new replies.