Re: How To Specify Initial/Default/Empty Entry For Dropdown Using the forms.Select Widget

2011-03-17 Thread hank23
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

Re: How To Specify Initial/Default/Empty Entry For Dropdown Using the forms.Select Widget

2011-03-17 Thread Tom Evans
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: > >

How To Specify Initial/Default/Empty Entry For Dropdown Using the forms.Select Widget

2011-03-17 Thread hank23
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':