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"
}
- Availability
- Actions
- Behaviours
- Breadcrumbs
-
Conditions
- String Conditions
- Date Conditions
- Integer Conditions
- File Upload Conditions
- Custom validation
-
Elements
- AddAnother
- Address
- Button
- Booking
- Checkbox
- Date Input
- Date Picker
- Declaration
- Document Download
- Document Upload
- File Upload
- H1-H6
- HR
- Image
- Inline Alert
- Link
- Map
- Multiple File Upload
- OrderedList
- Organisation
- P
- Radio
- Select
- Street
- Summary
- Success page
- Textarea
- Textbox
- Time input
- Unordered List
- Uploaded files summary
- Warning
- EnabledFor
- Feedback form
- File uploads
- Form Schema
- Header
- Inbound Values
- Integrating with PowerAutomate/0365
- Lookup
- Page
- Payment & Payment calculations
- Preview data structure
- Render conditions
- Reusable elements
- Structure tests
- Success page
- Tag parsers
- Target mapping
- Validators