Wednesday, May 30, 2012

Re: Checkbox becomes combox ... why ?

On Wed, 30 May 2012 02:24:53 -0700 (PDT), yillkid <yillkid@gmail.com>
declaimed the following in gmane.comp.python.django.user:

>
> Filed "game_type" is a check box widget, BUT when I render the register
> page,
> It doesn't render to a checkbot but a combobox.
> I don't why, thanks for reading my problem.

Off-hand... Checkboxes are two-state items: On/Off (Yes/No; 1/0;
checked/unchecked). BUT you are providing a three-state value for it --
how is a checkbox supposed to render "Maybe"?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment