[TYPO3-project-formidable] Getting the name of the renderlet in a userobj validator/process

Oliver Klee typo3-german-02 at oliverklee.de
Mon Jun 11 23:24:15 CEST 2007


Hi,

Manuel Rego Casasnovas schrieb:
> function _isValid($aParams, $oForm) {
>    $renderlet = $aParams['renderlet'];
>    ...
> }

Thanks for the information! So I'll do it that way ... :-)

If I understand it correctly, the first function parameter either
contains the data entered in the form element (if there is no "params"
node) or the content of the "params" node if there is any. Is this correct?

Is this a bug or is this intended (so that I need to use
$oForm->oDatahandler->getThisFormData() to retrieve the data that has
been entered into that form element)?

Best wishes,


Oliver


More information about the TYPO3-project-formidable mailing list