#30873 closed Uncategorized (invalid)
I'm looking option to get the selected value from MultipleChoiceField
Reported by: | malathisathya | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | 2.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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_datafield_name,
request.POSTfield_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
Change History (2)
comment:1 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Closing this ticket as I'm able to get the value. I was trying to get the value from invalid view. Fixed my code
Please don't use Trac as a support channel.
Closing per TicketClosingReasons/UseSupportChannels.