Inside my form tags of test.html i have this code
in my views.py when i do
request.POST.ge tlist('target_o bjects')
it returns -> ['MD_1'] this is the option that is highlighted in the front end.
My expected result should return either all the tags or one's with selected attribute not just the highlighted one's.
Code:
<select id="PairedSelectBox" name="target_objects" multiple size="15"> <option value="MD_1">MD_1</option> <option value="MD_2">MD_2</option> <option value="MD_3" selected="selected">MD_3</option> <option value="C_1"selected="selected">C_1</option> </select>
request.POST.ge tlist('target_o bjects')
it returns -> ['MD_1'] this is the option that is highlighted in the front end.
My expected result should return either all the tags or one's with selected attribute not just the highlighted one's.
Comment