Support

Account

Home Forums Add-ons Repeater Field How does one target a specific row in a repeater field with sub fields Reply To: How does one target a specific row in a repeater field with sub fields

  • Hi I guess I realized this after the fact…So here is what I want to be able to do:

    I have a repeater field (called author) with three sub-fields (called book, title, year). There are two “rows” meaning, two entries in the repeater field group.

    So something like:

    Book1, Title1, Year1
    Book2, Title2, Year2

    I am looking to write some conditional like

    if (author_id == "21") :
    <display the data for row 1>
    endif;