Support

Account

Home Forums Add-ons Repeater Field True / False question Reply To: True / False question

  • Hi @bgomski

    So essentially, you care trying to manage all page’s content via a repeater field on Page A?

    When on Page B, you can load all of Page A using the get_field function. Please note you will need to include the $post_id parameter to point to Page A.

    Now that you have Page A data, you can loop through the rows. You have a true/false field and a text field, so just loop over the rows and if the checkbox field is ticked, then use the text value.

    Easy.

    Please read the repeater field docs to get a better idea of the code.

    Thanks
    E