16 Mar
2002
16 Mar
'02
9:28 p.m.
But I can't figure out how to do this with the radio buttons, since they don't use the format 'value="CHECKED"', they simply use 'CHECKED'.
Use the HTML4/XHTML syntax: checked='checked'
Bruce is right but here's the solution to your first question: <input tal:attributes="CHECKED python:here.somescript(param) or nothing" /> Then, make here.somescript return true or false instead of the word "CHECKED". Peter