Re: Multirow form - add inputs with JS, but only the first ones gets submitted ...

2013-03-08 Thread lowpass
On Wed, Mar 6, 2013 at 9:48 AM, petar.kadakevl...@mentormate.com wrote: I'm doing a CakePHP site, I have a form there, and the user should be able to add multirow inputs dynamically, with JavaScript. Let me simplify it: I generate the first input with this code: echo

Multirow form - add inputs with JS, but only the first ones gets submitted ...

2013-03-06 Thread petar . kadakevliev
I'm doing a CakePHP site, I have a form there, and the user should be able to add multirow inputs dynamically, with JavaScript. Let me simplify it: I generate the first input with this code: echo $this-Form-input('Student.0.name'); So, when the user click on add more inputs - then I inject