You can use requires=IS_IN_SET({1:'Fixed yesterday', 2:'to be fixed today', ...})
On Jan 27, 9:32 am, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > I have a field priority = integer, can be anything between 1-5 (or 6 in > Python way) > > but I d like to make a dropdown with options, '1, Fixed yesterday', '2, > to be fixed today', '3, fixed before release' and so on. Is this > possible with IS_IN_SET or do I have to make my own form? > > When viewing the data a number is enough, it s only when making the > priority that the text is needed. > > Kenneth