Tuesday, August 3, 2010

Re: Need help setting up dynamic options for select (drop down) box of form.

On Aug 3, 3:29 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> Anyway, I suspect the cause is setting the widget.

I found my bug. To convert a textbox to a drop down box, it isn't
enough to reset the widget and choices settings. It is also necessary
of course to reset the field type from a CharField to a ChoicesField.

All the best,

Chris

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment