Re: using one select box to generate the results for two more

2007-12-02 Thread ldb
G'day Just for closing, restructure of the table was required, then the folks I was doing this for dropped the requirement On Nov 16, 8:08 am, ldb <[EMAIL PROTECTED]> wrote: > G'day > > Ah, should have mentioned, I can restructure the table if that is > needed, was trying not to. Bee

Re: using one select box to generate the results for two more

2007-11-16 Thread ldb
G'day Thanks. I have already applied the setup from devmoz, it was very helpful and I have the example working and another copy where the two tables involved actually can use a "belongs to" just as an extra test. I have likely not explained this fully, sorry. I have a table with model numbers &

Re: using one select box to generate the results for two more

2007-11-16 Thread ldb
G'day Ah, should have mentioned, I can restructure the table if that is needed, was trying not to. Been through too much trying to figure this one out, restructure would have to be less trouble if it makes Cake happier and works better within it's format. Thanks...;-) On Nov 16, 8:04 am, ldb

Re: using one select box to generate the results for two more

2007-11-16 Thread francky06l
You probably need an ajax call to update the 2 boxes when the value of your first box changes. See a sample here : http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/ On Nov 15, 10:29 pm, ldb <[EMAIL PROTECTED]> wrote: > G'day > > I just can't seem to find the right answ

RE: using one select box to generate the results for two more

2007-11-15 Thread ldb
G'day I just can't seem to find the right answer to this one. Hopefully someone can point me in the right direction please. I have the following function in a "app/controllers/models_controller.php". I load three select boxes two of which rely on data from the first one. I can enter a manual