Monday, June 10, 2019

Re: Form with CheckBoxSelectMultiple not validating

Thanks for responding @Joe. I had figured out what the issue was. I ended up with:

```
tour_options = forms.MultipleChoiceField(
label='Select tour activities',
choices=settings.TOUR_OPTIONS,
widget=forms.CheckboxSelectMultiple()
)

```
Kind regards,
Lloyd


Sent with Shift

On Fri, Jun 7, 2019 at 10:12 PM Joe Reitman <jreitman28@gmail.com> wrote:
Can you show the code?

On Friday, June 7, 2019 at 1:57:23 PM UTC-5, Dube Software wrote:
I have a form with a CheckBoxSelectMultiple widget. When I select choices and submit the form, `is_valid()` returns False. What could be the cause?

Kind regards,
Lloyd

Sent with Shift

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7aaca4cd-2e46-458a-bef5-17887b9e46c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCCaoMQ2KDxzDBv6SS7e6O7GDeiOyksjvOUYicWLfXkvdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment