Issue Feature Closed

#17297Extend TCEFORM_confObj on Page TSconfig by property keepItems

Oliver Hader 05/11/07, 13:40 updated 08/06/10, 13:23

Description

In Page TSconfig there are currently these possibilities to manipulate the items of a select field:
TCEFORM..<field> {<br> addItems.123 = new item<br> removeItems = 234,456<br>} <p>This works only relatively to a given set of items. It is not possible with these both methods to set/filter the items exactly to a predefined set.<br>The solution is a new feature “filterItems” – all other (available!) values which are not defined in the “filterItems” are cut off.</p> Example:<br>TCEFORM.<table>.<field>.keepItems = 110,101,111 <p>Documentation changes:<br>Insert in doc_core_tsconfig, Page TSconfig, section TCEFORM_confObj, before property “removeItems”:</p> <p>Property: <br>keepItems</p> <p>Data type: <br>list of values</p> <p>Description:<br>Reduce/filter a given set of elements to fit the condition defined here.<br>Example:<br>TCEFORM.pages.doktype {<br> keepItems = 1,2,255<br>}<br>(issue imported from #M5610)</p></field></table></field>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.