I have a form that allows me to dynamically add fields. For example one field is named "part_numbers". When the renders in the browser it renames each field sequentially using this syntax: parts[parts][part_numbers]
so for instance, if my form has the 3 part_numbers fields it will now have:
I need to take each of these values and concatenate them with a comma separator. How can I do that and should it be attached to the submit function?