[TYPO3-dev] TCA form field display on conditions based

Satish Maurya satish04mca at gmail.com
Tue Dec 9 12:14:58 CET 2014


Hi All,

I am using TYPO3 6.1 and developing an extension. In TCA form, I have a
field which should display based on condition.

For example: by default "field1" has zero value in table, but if it is more
than zero then it should not display on the TCA edit form. I am updating
this field value on submission of another form from frontend.

Can anyone please suggest where should I add the condition?

My field is defined as below in tca.php:
//-------------

'field1' => array (
'exclude' => 0,
'label' => 'Field 1:',
'config' => array (
'type' => 'input',
)
),
//----------------




Thanks
Satish



More information about the TYPO3-dev mailing list