diff --git a/typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php b/typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php index 49fd15d3521133a9c5abc7da1d46372a14409de8..bd215a36263ba1eb199dd393ccc3e2dbc772901b 100644 --- a/typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php +++ b/typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php @@ -71,8 +71,8 @@ class FlexFormSectionContainer extends AbstractContainer $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $flexFormContainerContainerResult); } - $containerId = sprintf('flexform-section-container-%s-%s-%s', $flexFormSheetName, $this->data['fieldName'], $flexFormFieldName); - $sectionContainerId = sprintf('flexform-section-%s-%s-%s', $flexFormSheetName, $this->data['fieldName'], $flexFormFieldName); + $containerId = sprintf('flexform-section-container-%s-%s-%s-%s', $flexFormSheetName, $this->data['fieldName'], $flexFormFieldName, md5($this->data['elementBaseName'])); + $sectionContainerId = sprintf('flexform-section-%s-%s-%s-%s', $flexFormSheetName, $this->data['fieldName'], $flexFormFieldName, md5($this->data['elementBaseName'])); $hashedSectionContainerId = 'section-' . md5($sectionContainerId); // "New container" handling: Creates buttons for each possible container with all relevant information for the ajax call. diff --git a/typo3/sysext/styleguide/Configuration/FlexForms/SimpleSection.xml b/typo3/sysext/styleguide/Configuration/FlexForms/SimpleSection.xml new file mode 100644 index 0000000000000000000000000000000000000000..140c186265522439dffac9cabdd0aef60a2f5fcf --- /dev/null +++ b/typo3/sysext/styleguide/Configuration/FlexForms/SimpleSection.xml @@ -0,0 +1,29 @@ +<T3DataStructure> + <sheets> + <sDEF> + <ROOT> + <type>array</type> + <el> + <answers> + <type>array</type> + <section>1</section> + <el> + <answer> + <type>array</type> + <title>Answer</title> + <el> + <text> + <label>Text</label> + <config> + <type>input</type> + </config> + </text> + </el> + </answer> + </el> + </answers> + </el> + </ROOT> + </sDEF> + </sheets> +</T3DataStructure>