Re: choices based on existing entries

2010-05-11 Thread James Bennett
On Tue, May 11, 2010 at 4:11 PM, Preston Holmes wrote: > Now I can think of several ways to do this in a form field init, but > it seems like there should be a more reusable way to do it with a > custom field type or mixin by overriding get_choices on the field > object. There is an easy way -- a

choices based on existing entries

2010-05-11 Thread Preston Holmes
Filemaker has a pattern where you can set the choices of a field to be the indexed contents of that field. Along with an "Other..." choice option to add a new value. This is a very handy way of having user modified choices for a given field. Now I can think of several ways to do this in a form f