Add a subform to a form with ajax on submit
问题 I read this article: http://www.jeremykendall.net/2009/01/19/dynamically-adding-elements-to-zend-form/ That was very interesting and it works fine. I need to do the same but with a SubForm. I mean that when a user presses a button, I call, via ajax, an action that adds, attaches and displays a subform to my existing form. For example: I have a form where a user must fill in the name and surname of his children, so there is a button "Add Child". When the user presses that button a SubForm