Re: Re: Autocomplete: show name, return id

2006-10-03 Thread Samuel DeVore
you might be able to do this with a hidden field that gets updated with the id. You would probably need to alter the autocomplete code, you would probably be best served asking on the rails spin off lists (rubyonrails-spinoffs@googlegroups.com) is the address it is a googlegroups so you could loo

Re: Autocomplete: show name, return id

2006-10-03 Thread Martin Schapendonk
Bump. -- Martin Schapendonk, [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Autocomplete: show name, return id

2006-10-02 Thread Martin Schapendonk
Hi all, Imagine a table with two columns, id and name (for the sake of simplicity). I would like to make an autocomplete-field, which allows the user to pick a name, but include the value of id if the form is submitted. Is this possible? Martin -- Martin Schapendonk, [EMAIL PROTECTED] --~