Is file upload null or empty - smbc-digital/form-builder GitHub Wiki
Is File Upload Null or Empty checks if a file upload question ID is null or empty. Example: If fileUploadQuestionId = null and comparisonValue = true it returns true, while if fileUploadQuestionId = a List<FileUploadModel and comparisonValue = true, it returns false.
The condition syntax is:
Confirms the value IS null or empty
{
"conditionType": "IsFileUploadNullOrEmpty",
"comparisonValue": "true",
"questionID" : "fileUpload"
}
Confirms the value IS NOT null or empty
{
"conditionType": "IsFileUploadNullOrEmpty",
"comparisonValue": false,
"questionID" : "fileUpload"
}