[TYPO3-mvc] Blank Flexform fields overwrite TypoScript values???

Martin Kutschker masi-no at spam-typo3.org
Wed Feb 24 15:52:50 CET 2010


Franz Koch schrieb:
> 
> True, but what always works is:
> if ($flexFormValue != '') { $settings[$key] = $flexFormValue);
> 
> Many extensions work that way, so extbase should also apply this.

But this way you cannot set an empty value via flex form.

And it doesn't work for numbers because TYPO3 doesn't like NULL values for them. Any empty string
will become a 0.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list