In the file upload, you are using the WADAproducts recordset for the default file setting, for example:
'DefaultFileName' => "".($row_WADAproducts["ProductImage"]) ."",
That recordset is after the upload file behavior at lines 272 - 282. to be able to use the recordset values in the upload file behavior, you will need to move the recordset so that it is before the upload behaviors.