Hi Chris,
Sorry for the late response. You can use the pre-validate event on the form to check the file upload widget (see here for documentation on our form submission events:
https://www.crmportalconnector.com/developer-network/documentation/developing-for-tpc/portal-form-submission-events). If the file upload widget contains the files you want, update the field in the form. This will add the field to the form collection to be submitted with your uploaded files.
Here is a basic example that might help:
$(document).on("tpc:pre-validate", function (event, form, sender) {
var files = tpc.forms.sf_fileuploadtest.fileupload.get_kendoInput().getFiles();
if (files.length > 0)
tpc.forms.sf_fileuploadtest.fileattachedcheck.set_value('File Attached');
});
Thanks,
Patrick