Timeline for Add multiple fields in +Add more button causes problem in sequence
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2015 at 6:30 | comment | added | Quentin Campbell | Thanks for this. I have also found that Name and Surname will be in sequence because it goes by alphabet. In my case I had Name and Email, which works together as per this answer, but were swapped because of alphabet. Solution: add another index: $form['names_fieldset'][$i][0]['name'] and $form['names_fieldset'][$i][1]['email'] | |
Jun 26, 2013 at 12:52 | vote | accept | mohit_rocks | ||
Jun 26, 2013 at 12:48 | comment | added | Mołot | Did the same mistake not so long ago, you know ;) | |
Jun 26, 2013 at 12:43 | history | answered | Mołot | CC BY-SA 3.0 |