[TYPO3-project-4-3] admin panel - why are the form options duplicated?

Xavier Perseguers typo3 at perseguers.ch
Mon Jul 6 15:21:49 CEST 2009


Hi,

Martin Kutschker wrote:
> Georg Ringer schrieb:
>> Martin Kutschker schrieb:
>>> Each of the form fields exists both as a hidden field and as a
>>> checkbox/select.
>>>
>>> Can someone explain me what is the reasoning behind this?
>> IMO IE won't transmit the value 0 of the checboxes if not checked, so
>> this is the only way to uncheck it
> 
> This would no be a problem if the code would check the expected form
> fields and not the ones sent. So any field not present means "not set".
> 
> Or am I still missing something?

I don't think so. This is normal coding standard when dealing with forms 
and I wonder why this is not the case there.

-- 
Xavier Perseguers
DBAL-Member

http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-project-4-3 mailing list