[TYPO3-dev] FORM element

Steffen Kamper steffen at dislabs.de
Mon May 21 20:39:30 CEST 2007


Hi Thorsten,

"Thorsten Kahler" <thorsten.kahler at dkd.de> schrieb im Newsbeitrag 
news:mailman.1.1179772359.7961.typo3-dev at lists.netfielders.de...
> Hi Masi,
>
> Martin Kutschker wrote on 19.05.2007 20:17:
>> [...]
>> The reason is
>> (and partly this already in place) that the Core itself must expect form
>> input on ANY page.
>>
>
> what's the reason that form data must be handled by the core on ANY page?
> Just for the redirect feature?
>
> IMO a first step to a cleaner approach would be to let the form action
> always point to the current page. Then we can be pretty sure that the FORM
> object that produced the HMTL of the form can handle the form data. This 
> way
> we have the FORM setup in place to validate the data by PHP (and not only
> by JS a currently).
>
> Regards
> Thorsten

it is not important to handle the current page. tslib_fe handles all post 
data and it can be handled.
For php validation only page id of the send form has to be known to show the 
form again.

It's simular to login, that can be postet from any page too.

vg  Steffen 






More information about the TYPO3-dev mailing list