I finally gave in and decided to give Cake a shot so please pardon my ignorance to what may seem obvious to you. The majority of my sites are Ajax heavy so I decided this would be as good a place as any to start so I set to work on a (what should be simple) form that creates itself dynamically according to user input.
1. The static part of the form was obviously a breeze to set up - no problems there. 2. Created a Select input and populated it with data from db - seemed easy enough, no probs. 3. My next field depended on the input of the Select I just created and I was a little unsure of how to approach this so I ended up using $ajax->observeField() and surprisingly enough it generated my new form field with seemingly no issues. The problem I'm running into is that I need to use the data from my newly created form field and create yet another field based on that data. The new form field doesn't trigger the Ajax I set up for it nor does it interact with the action I specified. When I view source on the page all of the data that was generated dynamically with Ajax is not showing in the source even though data is plainly visible when physically viewing the page. I can't quite figure this one out. 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 [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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
