Re: ajax->observeField trouble

2008-10-19 Thread francky06l

Probably, the product group field is removed when you update the list.
Place the observeField "call" when you update the product group (ie:
in the same update as the updating the groups from categories).

On Oct 19, 5:06 pm, cds <[EMAIL PROTECTED]>
wrote:
> http://bin.cakephp.org/saved/38610
>
> I'm having real trouble with $ajax->observeField. I have a form that
> has a product category, product group, and then product size. Product
> group is dependent on product category so I have an observeField on
> Product Category. This triggers an action, which works. Next, Product
> Size is dependent on product group, so a change in product group
> SHOULD trigger another action, but it never gets that far.
>
> I have two $ajax->observeField elements and think the problem lies
> there, but I was hoping someone could guide me through this a bit. The
> paste is located at the top of this message.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



ajax->observeField trouble

2008-10-19 Thread cds

http://bin.cakephp.org/saved/38610

I'm having real trouble with $ajax->observeField. I have a form that
has a product category, product group, and then product size. Product
group is dependent on product category so I have an observeField on
Product Category. This triggers an action, which works. Next, Product
Size is dependent on product group, so a change in product group
SHOULD trigger another action, but it never gets that far.

I have two $ajax->observeField elements and think the problem lies
there, but I was hoping someone could guide me through this a bit. The
paste is located at the top of this message.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---