[TYPO3-dev] Formular Validierung unwirksam?
Christian Weiske
christian.weiske at netresearch.de
Thu Jul 16 12:59:44 CEST 2015
Hello Ronny,
>Sobald ich ein leeres Textfeld absende wird trotzdem im $_POST Array
>ein Eintrag hinterlegt, auch wenn dieser NULL ist, so wie man es
>eigentlich auch kennt und gewohnt ist. Wird jedoch kein Radio Button
>ausgewählt und das Formular abgesendet, dann wird im $_POST Array kein
>Eintrag gemacht und daher kommt die Fehlermeldung sowie der Grund,
>dass die Validierung nicht greift :(.
This is standard behavior of web browsers.
A workaround is to add a hidden field *above* the radio buttons, with
the same name as the radio button fields.
It will be used if no radio button is selected.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
More information about the TYPO3-dev
mailing list