Thanks I took a look and since I tried to initialize my select widget
several different ways while trying the options shown in the initial
portion of the forms fields document I was unable to do it
successfully, without an actual axample which uses a select widget. I
found a way around it anyway th
On Thu, Mar 17, 2011 at 2:58 PM, hank23 wrote:
> 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',
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',
3 matches
Mail list logo