Re: Populating select field in custom manipulator

2006-11-30 Thread [EMAIL PROTECTED]
The choices parameter to Selectfield expects a list of tuples, what you've got is a list of strings. Say you want to have to choices in the selectfield, it would go something like this. projects = [("choice1","Gen2"),("choice2","CRMC")] I hpoe that clears things up for you .. -- Torbjørn

Populating select field in custom manipulator

2006-11-29 Thread jeffhg58
I am trying to use a customer manipulator to build a search screen. One of my fields is a select field but I get an error to many values to unpack. Any help would be greatly appreciated. views.py class SearchResults(forms.Manipulator): def __init__(self): projects = ['Gen2',