I'm using something like this in my template
<select multiple="multiple" name="services" id="services" size="5"> {% for service in services %} <option value="{{service.id}}">{{service}}</option> {% endfor %} </select>
When I view the POST data in Firebug or the Django debug, I see it only sends one value. Am I doing something wrong or misunderstanding a concept?
request.POST.getlist('services')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With