If you replace form content simpler use ObserveField. Or maybe re- observe form on each reload. Check yourself.
On Oct 24, 2:59 pm, Gaioshin <[email protected]> wrote: > OK - I guess that's why when I used ObserveField, it was ok? I mean I > had used ObserveField individually for the dropdowns before and it > continued working (the views that were loaded in by Ajax repopulated > the select box parameters). Is there any way to keep ObserveForm > working if I am to replace the contents of the form (but not the form > itself) ? > > Cheers, > > Gaioshin > > On Oct 24, 4:41 am, "Dr. Loboto" <[email protected]> wrote: > > > > > Observe stops to work if you replace observed elements by AJAX, for > > example. > > > On Oct 23, 8:59 pm, Gaioshin <[email protected]> wrote: > > > > Hi guys, > > > > I am trying to use the Ajax helper method observeForm, yet however it > > > appears to only fire once. By that I mean, I am using it to change > > > dropdowns but once the dropdown has changed, changing it again has no > > > effect whatsoever. > > > > Previously I had used observeField and that had worked very well - but > > > now I need for various dropdowns to influence each other and > > > observeField is a bit cumbersome for that. > > > > All ideas welcome, > > > > Gaioshin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
