Project

General

Profile

Actions

Bug #82938

closed

EXT:form - empty checkbox cannot be stored in DB if field is an integer

Added by Andreas Kienast about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2017-11-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF