#30873: I'm looking option to get the selected value from MultipleChoiceField
-----------------------------------------+------------------------
Reporter: malathisathya | Owner: nobody
Type: Uncategorized | Status: new
Component: Forms | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
I'm facing issue in getting the selected value from MultipleChoiceField.
My multiple choice fields as many runnable scripts, upon selecting one or
more from that list, I would like to get and process those selected values
In form, I defined MultipleChoiceField and in the view, I'm trying to get
the selected value. I tried with form.cleaned_data['field_name'],
request.POST['field_name'], request.POST.get('field_name') but nothing is
working for me
Either I'm getting an empty list, None otherwise
I tried to look out for solution in other available resources but none of
them are helping to fix my issue. With no choice I'm here to raise a new
ticket and requesting any possible solution
--
Ticket URL: <https://code.djangoproject.com/ticket/30873>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.a683e752cae84f159d0fea7470fc3552%40djangoproject.com.