Skip to content

Is file upload null or empty

Lydia Gray edited this page Oct 13, 2020 · 1 revision

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"
}
Clone this wiki locally