-
Notifications
You must be signed in to change notification settings - Fork 2
Document upload
lallysmbc edited this page Jan 8, 2021
·
8 revisions
Refer to Stockport Design System for styling information and reference images
Document Upload is a link (styled as a Primary button) that can be used on Success pages. It will automatically generate a url consisting of the host, form name, "document-upload" and with the Base64 encoded Case Reference as a parameter eg. http://forms.stockport.gov.uk/v2/file-upload/document-upload?caseReference=encodedReference
NOTE: You may not need any properties for this, but you must still put an empty Property object in the JSON.
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
Text | string | ❌ | Upload your documents | The text required on the 'button' |
{
"Type": "documentUpload",
"Properties": {
"Text": "Button text"
}
}
Example of DS success page with document upload
"Elements": [
{
"Type": "h2",
"Properties": {
"Text": "What happens next"
}
},
{
"Type": "p",
"Properties": {
"Text": "We will contact you shortly to confirm if your request has been accepted."
}
},
{
"Type": "h2",
"Properties": {
"Text": "Supporting evidence"
}
},
{
"Type": "p",
"Properties": {
"Text": "Based on the questions you answered, you must provide us with the evidence below so that we can process your application."
}
},
{
"Type": "h2",
"Properties": {
"Text": "#####"
}
},
{
"Type": "p",
"Properties": {
"Text": "We need to see evidence for:"
}
},
{
"Type": "ul",
"Properties": {
"ListItems": [
"test test"
]
}
},
{
"Type": "h2",
"Properties": {
"Text": "Uploading your evidence"
}
},
{
"Type": "p",
"Properties": {
"Text": "You must upload your documents withing <strong>14 days</strong> otherwise you will need to reapply. The sooner that we receive your documents, the quicker we can process your application."
}
},
{
"Type": "p",
"Properties": {
"Text": "You'll also receive an email with this information and a link to upload your documents."
}
},
{
"Type": "documentUpload",
"Properties": {}
},
{
"Type": "p",
"Properties": {
"Text": "If you're unable to upload your documents online, you can take them to one of our local advice centres or send them to the address below quoting your reference number:"
}
},
{
"Type": "p",
"Properties": {
"Text": "Local Taxation<br>Stockport Metropolitan Borough Council<br>Town Hall<br>Stockport<br>SK1 3XE"
}
},
{
"Type": "p",
"Properties": {
"Text": "You can send photocopies or the original documents. If you send the original documents we'll return them to you."
}
}
]
- 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