Home Forums Add-ons Repeater Field 2 Different Repeaters, same sub fields


2 Different Repeaters, same sub fields

  • Is it possible to have the same subfield names inside 2 different repeaters?

    I’m trying to build a pricing field group, one for adults and one for seniors, where they both have breakfast prices.

    If the adult repeater and the senior repeater have a subfield called Breakfast_Price, will they be ok or should they be renamed to avoid conflict?

  • sub fields do not need to have unique names.

    Technical reason: Sub fields are stored as "{$repeater_name}_{$index}_{$sub_field_name}" It is important that the top level fields have unique names.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘2 Different Repeaters, same sub fields’ is closed to new replies.