Support

Account

Home Forums Add-ons Repeater Field Repeater to create bootstrap tabs? Reply To: Repeater to create bootstrap tabs?

  • There are 3 choices to output the parts of a repeater into different sections.

    1) Loop through the repeater twice. After the first loop call the function reset_rows() to reset the repeater.

    2) Loop through the repeater once show the tabs and store the information to be shown later in an array. Then loop through the array to show the second parts.

    3) loop through the repeater once show the tabs and build an HTML string for content parts then echo the content after the last tab.