Saturday, March 26, 2011

extends autoComplete - Need ID of chosen element and set it inside hidden field

I followed http://book.cakephp.org/view/632/autoComplete, and this
work. Now the problem is:
I choose an element from suggested items, but actually I haven't ID so
this isn't so usefull.
It could be better if as soon I choose an element, it's id will be
stored immediatly inside an hidden input, so I could send it to the
form's action with proper info.

How can I do that?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: