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 over 6 years ago. Updated over 5 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