cell_name = SingleSelectField(label="Cell",
options=[(0,' ' ), (1, 'CELL1'), (2, 'CELL2'), (3, 'CELL3'),(4,
'CELL4')], default = 0)
I soleved it though.... instead f the above ...I put the following and
it soleved my problem....
cell_name = SingleSelectField(label="Cell",
options=[(' ' ), ('CELL1'), ( 'CELL2'), ( 'CELL3'),( 'CELL4')])
>
On Jul 19, 9:03 am, Christopher Arndt <[EMAIL PROTECTED]> wrote:
> new2turbo schrieb:
>
> > I am trying to do a search in the records with the cell_name Field.
> > and the values in that column are CELL1, CELL2, CELL3 and CELL4.
>
> cell_name = SingleSelectField(label="Cell",
> options=[(0,' ' ), (1, 'CELL1'), (2, 'CELL2'), (3, 'CELL3'),
> (4, 'CELL4'), default = 0])
> ^^^
> This looks supsicious, Did you mean this:
>
> cell_name = SingleSelectField(label="Cell",
> options=[(0,' ' ), (1, 'CELL1'), (2, 'CELL2'), (3, 'CELL3'),
> (4, 'CELL4')], default = 0)
>
> Note the position of the closing square bracket.
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---