#82938EXT:form - empty checkbox cannot be stored in DB if field is an integer
Description
If a submitted form contains an unchecked checkbox, the value is an empty string. If the DB field is an integer, this will fail as the types mismatch. Using skipIfValueIsEmpty doesn’t work as the value must be null to achieve this.
Reviews 5
- TYPO3_8-7 54971[BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"
- TYPO3_8-7 54972[FOLLOWUP][BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"
- main 54969[FOLLOWUP][BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"
- main 54577[BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"
- TYPO3_8-7 54970[BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"