You can use the FormHelper : http://book.cakephp.org/view/728/select

On Thu, Oct 8, 2009 at 1:09 AM, gopallal <[email protected]> wrote:

>
> Hi,
>  I am new for cakephp. I have a requirement which is very common.
> I have to create drop-down list of locality in a form where that form
> belongs
> to a table which has locality_id as a foreign key.
>
> How locality name should be displayed in drop-down list and
> locality_id value should be
> saved after submitting that form.
>
> Any pointer will be very appreciable.
>
> Thanks in advance.
>
> Regards,
> Gopal
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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