PDA

View Full Version : extjs4.x Dynamic create form fields



jinjianhe
21 Dec 2011, 2:50 AM
is there any solution for creating form fields dynamicly through add button ?
I found one of methods from site, the url is http://www.sencha.com/forum/showthread.php?62774-Dynamic-form-fields-cloning-fields-and-fieldsets-on-the-fly/page4, it based on extjs2.x, and work well, however it does not work in extjs4.x environment, plz help, thx.

mitchellsimoens
21 Dec 2011, 8:33 AM
All you are doing is using the add() and remove() methods on the form