We need some more information about your problem to be able to help.
What does your code look like at the moment? Are you using any of the
AJAX/JS helper methods provided by Cake? Which JS engine are you using
(jQuery, prototype, ...)? Are you firing a new AJAX request each time
the value of a select list changes? Are you pre-loading all
conceivable options once at the start and just selecting the
appropriate subset of options when you change values?
Regards,
Michael
On Nov 22, 11:09 pm, Stephen <step...@ninjacodermonkey.co.uk> wrote:
> Hi There
>
> I have a system in place for adding, editing and duplicating orders which
> relies on ajax heavily. When adding an item, you select from an initial drop
> down list which will then in turn load the next drop down list and so on and
> so on.
> They go in this order:
>
> 1. Identifier (Preloaded)
> 2. Category (Compulsory)
> 3. Product (Optional)
> 4. Size (Optional)
> 5. Fabric (Compulsory)
> 6. Loads a list of options, then the choices associated to each option.
>
> It all works great at the moment, for adding, editing and duplicating items
>
> My manager has asked me to show all the drop down boxes at once with the
> defaults already selected depending on which Identifier you choose, I have
> managed to select the category by default - but then selecting the product
> (if applicable), size (if applicable), fabric and all associated options -
> based on the selection of "1. Identifier" is proving a little more difficult
> because I still want the users to be able to modify their selection at any
> point.
>
> I did see this:http://www.reversefolds.com/articles/show/ajaxbut I'm not
> sure if I can make it load 5 actions one by one and update the associated
> divs
>
> Any advice?
>
> --
> Kind Regards
> Stephen
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment