On 15 mayo, 10:58, Richard <[email protected]> wrote:
> I want the user to select an integer between a certain range (their
> birth year) . IS_INT_IN_RANGE provides the restriction but uses an
> input box - how can I get SQLFORM to use a select box for this integer
> range?
>
> Richard

This helps you?

.requires = IS_IN_SET([x for x in range(1, 4)], zero=None)

Jose

Reply via email to