Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

enhancedselection2: a selection that stores identifiers

This page is for site builders who need a drop-down or multiple-select field whose stored values stay correct when the options change. enhancedselection2 is a selection datatype like the kernel's ezselection, with one…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/enhancedselection2.md

On this page

enhancedselection2: a selection that stores identifiers

This page is for site builders who need a drop-down or multiple-select field whose stored values stay correct when the options change. enhancedselection2 is a selection datatype like the kernel's ezselection, with one important difference: it stores the identifier of the chosen option, not its position (ID).

With ezselection, changing the options of the class can make stored IDs point to the wrong option. With this datatype a stored value keeps meaning the same option as long as identifiers do not change.

Use it

  1. Edit a content class in Setup > Classes and add an attribute of this datatype.
  2. Give each option a human-readable label and an identifier. Leave the identifier empty to have it generated the way Exponential generates identifiers.
  3. Reorder the options with the up and down buttons; the drop-down uses the same order.

Information collection is supported. The datatype started as the SCK-CEN extension (version 1.0) and was extended with more class-level features.

What changed in the Exponential 6 releases

VersionDateChange
2.1.1, 2.1.2March 2024Package vendor switched to se7enxweb.
2.1.327 September 2026ezinfo.php states the extension's name, version, copyright, license and website.
2.1.428 September 2026Selections of an attribute that has no id yet (a new object) are not looked up, and ids are compared as integers, so PostgreSQL installs the content. Every visible text is a translation string, with German. The templates translate with literal contexts instead of a context held in a variable.
2.1.5The description names Exponential.
2.1.6, 2.1.72 October 2026The edit and collect templates of a multiple selection parse again: a stray closing parenthesis made the template parser reject the checkbox list, so the edit form of a class using it showed no fields. Commands and cronjob parts list a description and use the shared command helpers.

Upgrade note: if a class that uses a multiple selection showed an empty edit form before 2.1.6, update to 2.1.6 or later and clear the template caches.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x