0
I have a system made in Cakephp.
I have 3 selects in one view: One to list stocks; One to list the locations of the stock (A stock can have several locations); And one to list the products you have at the specified location;
How do I, when selecting a stock, appear the locations of that stock and so on ?
I have all variables already in the view, it is only necessary to filter.
Put what your code looks like now - at least one similar example (two or three fields per table, and the queries you want) - or whatever you answer will have to recreate everything you have there. Note that if you are using a static html system (no asynchronous requests (ajax) you will need to reword a lot of things.
– jsbueno
Duplicate of this link
– Jorge.M
Possible duplicate of How to change content of a select from another select
– Jorge.M
I found help at this link: https://answall.com/questions/7557/display-bairro-de-acordo-com-a-cidade-cakephp
– Solon Barbosa