Hi there, What would be the best way to load and unload dependent field.
For an instance, I have 3 fields on the form: class, division, section. If my class is A or B, then I also need to fill up division and section. Assume that class is a dropdown and a mandatory field. Whenever I change the value of class, broswer sends an AJAX request. Based on the value of class server send back HTML and gets loaded on a placeholder(DIV). If value was A or B, it will send fields for division and section else nothing. This was just a simple example. I have got around 192 fields and 42 fields doesn't show up until some fields gets changed. It gets complicated, every day when I try to add a new field. And Edit view becomes more complicated because it has to analyze if the value class is A or B, if yes, render division and section. I am going crazy, please suggest me the best way to handle this situation. I am ready to do it from scratch. Thank you in advance. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
