Closed BenComicGraphics closed 9 years ago
Cloneya already handlng it, You need to set field name as array <input type="text" name="name[1]"/>
. Cloneya will automatically increment the numeric index of array.
Got it! tHX!
Hi gchokeen,
OK, I think this is not working - and I am looking at the actual demo page you have set up, the name field is not automatically incremented
Best, Gabriela
You also need to set the (undocumented) config option serializeIndex
to true to make it work. Note also that currently if you have more than one numeric bit in your fieldname cloneya will reset all of them to the clone index (see #42)
Aaah, ok, I see! Thanks Andrew!
serializeIndex is not incrementing properly and it stops the numeric indexing of input array at 10 when clone count becomes more than 10
`
`
I'm using this, and I need a way to ensure the input names increase like the ID's are.