Insert Multiple Records Question
Hello.
I've finally got around in using DataAssist. Not bad. However, there seemed to be a 'gotcha' or two. Maybe it's just a clash of coding preferences and/or styles.
I finally used the Insert Multiple Records server behavior. The gotcha was that I used the form names as student[] array instead of student0, or student1, etc. for dynamically generated records. This way, when PHP 'POST's the form, there'll be a nice array of student[] for me to work on. (For more examples, google "dynamic forms array php" to get the gist of what I'm using.)
Apparently, DataAssist insists on naming them as student[]_0, student[]_1, student[]_2, and breaks the script. :( The script can't 'find' the fields and simply aborts the process.
Is there a way I could use my dynamic form arrays instead of the using counter scheme for the Insert Multiple Records server behavior? I could rewrite my form to use appended counter values, and hope it doesn't break anything else.


The code depends on the naming convention to keep track of which field is filled out. Using the naming convention you recommend you wouldn't be able to get checkboxes to work since unchecked boxes would not be in the array and your form would have arrays of varrying length. This would prevent you from matching the array value to the correct corresponding value. 
