I got my quantity array working and a bit of error checking functioning. I need to do error checking on my other fields sorted and stop empty invoice lines from being added.