[twill] is there a way to submit a none value to a radio or checkbox?
Titus Brown
titus at caltech.edu
Fri Mar 17 11:58:08 PST 2006
-> MUSIQUE checkbox (None) ['1'] of ['1']
-> DANSE checkbox (None) ['1'] of ['1']
-> ARTDRAMA checkbox (None) ['1'] of ['1']
->
-> and when I try to input:
->
-> fv 1 MUSIQUE 1
-> fv 1 DANSE 1
-> fv 1 ARTDRAMA 1
->
-> this will put a check in each
->
-> but if I
->
-> fv 1 MUSIQUE 0
-> fv 1 DANSE 1
-> fv 1 ARTDRAMA 1
With the very very latest version[0], any of
fv 1 MUSIQUE 1
fv 1 MUSIQUE True
fv 1 MUSIQUE 2
fv 1 MUSIQUE -1
will set checkboxes to True, and any of
fv 1 MUSIQUE 0
fv 1 MUSIQUE False
will set checkboxes to False. This was implemented independently of the
other code, so it should work only for checkboxes. I may have to do
something like 'fv 1 list -LISTITEM' for lists, sigh.
--titus
[0] eggs at http://issola.caltech.edu/~t/dist/, .tar.gz at
http://darcs.idyll.org/~t/projects/twill-latest.tar.gz
More information about the twill
mailing list