[Typo3-dev] eval = 'uniqueInPid' for type = select in TCA

Christian Trabold trabold at mehrwert.de
Thu Jun 30 15:57:10 CEST 2005


Hi JoH,

> Is there any possibility to get something like eval = 'uniqueInPid' for a
> selectbox in the BE?
...
> by default there is no "eval" function for select fields.
> So I need a solution for one of two possible options:
> 1. Add the eval function for select fields
> 2. Use existing functions to achieve the same
> 
> Any hint?

"itemsProcFunc" could help here.

With that function you can process your items in the selectbox eg. hide 
them on a given condition.

The kickstarter provides an example when you choose "Add pre-processing 
with PHP-function" on a Selectorbox.


Hope that helps a bit. Good luck

Christian





More information about the TYPO3-dev mailing list