kadams wrote: > > Hello, > I've seen many threads on this forum that talk about dynamic element > creation using subform and AJAX, but all these threads seem to end with > "Does anyone have an example of this?" and then nobody posts anything. > > I have a form, and I'm trying to add labels and text elements dynamically > when the user clicks a "Add another entry" button, such that the user can > add any number of form elements. > > Does anyone have a good code example for this that they can post? > > Thanks, > Kevin >
I don't have a subform example, but I have put together a proof of concept that you might find helpful. Please see my latest post at jeremykendall.net: http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/ ----- Jeremy Kendall -- http://www.jeremykendall.net http://www.jeremykendall.net -- View this message in context: http://www.nabble.com/Zend-dynamic-subform-example-requested-tp21407835p21582542.html Sent from the Zend Framework mailing list archive at Nabble.com.
