|
From: Tom <to...@go...> - 2010-07-28 11:16:57
|
Hi,
i use a configspec and want to validate a string_list. How to do this?
My configspec contains:
days = list(min=7, max=7, default=list('Mon', 'Tue', 'Wed', 'Thu',
'Fri', 'Sat', 'Sun'))
How can i check that the days-list only contains possible values (like
Mon) and not something like 'testday' ?
What i need is something like a multioption list.
I want to use this for a web-interface with checkboxes.
Cheers,
Tom
|