Support

Account

Home Forums Add-ons Repeater Field CPT looping, within Repeater select fields

Unread

CPT looping, within Repeater select fields

  • How can I loop through my custom post types, where I have a select within a repeater field? I would like to collect the selected options and listing.

    My_CPT (1) / Location (repeater field) / Country select field (selected: Italy)
    My_CPT (2) / Location (repeater field) / Country select field (selected: Germany)
    My_CPT (3) / Location (repeater field) / Country select field (selected: UK)

    where Country contains all countries of the world.

    Expected result:

    <select>
    <option>Italy</option>
    <option>Germany</option>
    <option>UK</option>
    </select>
Viewing 1 post (of 1 total)

The topic ‘CPT looping, within Repeater select fields’ is closed to new replies.