-
Notifications
You must be signed in to change notification settings - Fork 2
Document upload
michaellau-smbc edited this page Oct 5, 2020
·
8 revisions
Refer to Stockport Design System for styling information and reference images
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
QuestionId | string | ✔️ | ❌ | Unique question id |
Label | string | ✔️ | ❌ | Label associated with the question |
LabelAsH1 | bool | ❌ | false | Display Label as h1 not a label (if this is set to true, HideTitle in the Page properties should also be set to true) |
Hint | string | ❌ | ❌ | Hint which appears above the date picker input |
IAG | string | ❌ | ❌ | Inset text to appear below the Label. NOTE: Do not use both Hint and IAG, use only one |
TargetMapping | string | ❌ | ❌ | Used for custom object mapping when creating submit data (more info about target mapping) |
AllowedFileTypes | Array[string] | ❌ | [".png", ".jpg", ".jpeg", ".pdf", ".docx", ".doc", ".odt"] | Set the accepted file types |
MaxFileSize | string | ❌ | 23.5Mb | The maximum file size in Mb (the default value is the maximum accepted value) |
{
"Type": "FileUpload",
"Properties": {
"QuestionId": "fileUpload",
"Label": "Upload",
"TargetMapping": "customer.file",
"AllowedFileTypes": [ ".jpg", ".png" ],
"MaxFileSize": "50"
}
- 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