[ZPT] checking radio buttons

Kenneth Gonsalves lawgon at thenilgiris.com
Thu Jun 23 08:38:54 EDT 2005


hi,
i have two radio buttons - 'yes' and 'no'. they have a name as 
'fixed'. Depending on the value of 'fixed' either 'yes' or 'no' 
should be checked. I tried this:

<input type="radio" name="fixed" tal:condition="options/fixed" 
checked/>Yes
 <input type="radio" name="fixed"  tal:condition="not:options/fixed" 
checked />Not Editable</p>

but doesnt work

any easy way of doing this?
          
-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!


More information about the ZPT mailing list