cakephp - Ajax Autocomplete field: display one value, but use another? -


i've got autocompleter in cakephp app provides dropdown list of neighborhoods attach place. i'm pulling table 'neighborhoods' name , id fields. want user see name of neighborhood, , want app see id of neighborhood , insert places table. how can make happen?

another way of doing storing id. when user presses submit replace input field's value stored value.


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -