In some frameworks, the database will store (for example) an integer, like 1, 2, 3, but it maps to choices, like Red, Blue, Green. They are usually in a select field. While the user can present their own form, the display would show the numbers, not the choices. So we should implement this as a configuration option along with whether it is multi-select, whether it is required, et cetera.
In some frameworks, the database will store (for example) an integer, like
1, 2, 3
, but it maps to choices, likeRed, Blue, Green
. They are usually in a select field. While the user can present their own form, the display would show the numbers, not the choices. So we should implement this as a configuration option along with whether it is multi-select, whether it is required, et cetera.