Is it possible to specify a default selected option for the forms.Select widget of a forms.CharField form field? If so how is it coded? Here is my current widget's code from my form definition:
widget=forms.Select(attrs={ 'name': 'rptlist', 'id': 'rptlist', 'size': '1', 'select-one': 'select-one', 'onchange': 'enableReportFields();' }, choices=USER_REPORTS )) Everything else works with it except when I select the 0 (zero) entry manually. Then nothing seems to happen, because the 0 seems to be the current default selected entry. Thanks for the help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.