28 Nov
2006
28 Nov
'06
10:38 p.m.
On Tue, Nov 28, 2006 at 10:24:51PM +0000, Mark Barratt wrote:
The radio inputs return name="listed" and value 0 or 1
This works OK, but in the radio input code,
tal:attributes="checked python:test(listed,'checked',None);
*always* returns 'checked'
(snip)
So what basic fact/knowledge am I missing?
This kind of thing is usually a mistaken type assumption. I bet your radiobutton is setting it to "0" rather than 0. -- Paul Winkler http://www.slinkp.com