#69047Returned value from "form field wizard" in flexform is not stored in database
Description
When using a wizard in Flexform like the wizard_element_browser the value from the popup will be returned correctly and visible in the input field which got the wizard. But when saving the record, the value is gone.
This is such a wizard configuration:
<config>
<type>input</type>
<size>50</size>
<max>256</max>
<eval>trim</eval>
<softref>typolink</softref>
<wizards type="array">
<link type="array">
<type>popup</type>
<title>Link</title>
<icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif</icon>
<module type="array">
<name>wizard_element_browser</name>
<urlParameters type="array">
<mode>wizard</mode>
</urlParameters>
</module>
<JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
The reason why the value is not stored in database properly, is that there are two form fields are existing:
- data[tt_content][NEW123…][pi_flexform][data][sheet0][lDEF][settings.link][vDEF]_hr
- data[tt_content][NEW123…][pi_flexform][data][sheet0][lDEF][settings.link][vDEF]
But just the first one got the value from the wizard. The second field remains empty (or got the original value), but this is the field which will be transfered to server.
When editing the input manually, using the keyboard, it works and both form fields got the entered value.