Hi Again,
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. If I
leave the Cell_name as blank it is supposed to pull up all the
records.
But when i use the drop-down widget for it and put default as blank it
pulls up nothing.
I believe what it is doing is it is searching for a record with any
matching pattern to "0" and not blank. Is there a way around it...
The search works when I put CELL1 in the drop down list and bring up
all the records with CELL1.
I need that to be blank as there are other search fiels as well.
cell_name = SingleSelectField(label="Cell",
options=[(0,' ' ),(1, 'CELL1'), (2, 'CELL2'), (3, 'CELL3'), (4,
'CELL4'), default = 0])
Mant thanks,
Sonia
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---