Page 1 of 1

Custom enumeration field: Any way to store keys instead of values?

Posted: 03 Jun 2025, 09:14
by negora
Hi:

I'm trying to populate a custom field of type Enumeration with registries coming from a database. Each registry has a primary key (obvious) and a description (existing or created on-the-fly from multiple columns). I would like MantisBT to show the description in the combo list, but that it stores the primary key instead. Is it possible?

Taking into account the format of the values in the Enumeration type (values separated by pipe characters), I guess that it's not possible. But I'm asking in case that there is some kind of alternative.

Thanks in advance.