I have three drop down select boxes, which I have to expand for web
visibility reasons with the size='' option.  If I select one from each
box I receive no errors, but if I leave one or more boxes without a
selection I receive an error.

 <select id="pathology_id" name="pathology_id" size="5">
    {% for pathology in pathology_list %}
    <option value="{{ pathology.id }}">{{ pathology.pathology }}</
option>
    {% endfor %}
    </select>

 <select id="commodity_id" name="commodity_id" size="5">
    {% for commodity in commodity_list %}
    <option value="{{ commodity.id }}">{{ commodity.commodity }}</
option>
    {% endfor %}
    </select>

<select id="technology_id" name="technology_id" size="5">
    {% for technology in technology_list %}
    <option value="{{ technology.id }}">{{ technology.technology }}</
option>
    {% endfor %}
    </select>

ERROR:
MultiValueDictKeyError
Exception Value:

"Key 'pathology_id' not found in <QueryDict: {u'q': [u''],
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to