Looks like you got it but you can also set var $displayField = "state"; in
your model and that will use the state field rather then the primary key
when displaying it

On Wed, Jan 6, 2010 at 8:37 AM, Guran <[email protected]> wrote:

> Thanks Folks;
>
> I tried the various ideas provided and learned quiet a lot on how to
> add/configure option's. Interestingly the easiest is to name the
> states.state field to states.name. This way there was no need to
> modigfy any code.
>
> Appreciate all your help.
>
> /guran
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to