[twill] is there a way to submit a none value to a radio or checkbox?

Norman Khine nkhine at itaapy.com
Thu Mar 2 02:33:26 PST 2006


Hi again,
What is the correct way to add lists and radio buttons to a formsubmit?
I have this form:

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

I get an error:

EXCEPTION raised at line 23 of 'break_form88.txt'

        fv 1 MUSIQUE  0

Error message: 'cannot find value/label "0" in list control'


ERROR: cannot find value/label "0" in list control

is there a way to submit a none value to a radio or checkbox?

Thank you

-- 
Norman Khine
SARL ITAAPY 9 rue Darwin, 75018 Paris - Tel +33(0)1 42 23 67 45
Mail: nkhine at itaapy.com - Fax: 01 53 28 27 88




More information about the twill mailing list