{f:variable(name: '_activeItemIndex', value: 1)} {f:variable(name: '_activeItemIndex', value: data.pi_flexform.activeItemIndex) -> f:if(condition: '{data.pi_flexform.activeItemIndex} > -1')} {f:if(condition: data.pi_flexform.headerLayout, then: data.pi_flexform.headerLayout, else: '4') -> f:variable(name: '_headingLayout')}
{f:variable(name: '_expanded', value: 'false')} {f:variable(name: '_expanded', value: 'true') -> f:if(condition:'{iterator.cycle} == {_activeItemIndex}')}
{record.header}
{f:cObject(typoscriptObjectPath: 'lib.containerElements.renderContent', data: record)}