Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
hsra placeholder form
Browse files Browse the repository at this point in the history
  • Loading branch information
srh-sloan committed May 3, 2024
1 parent 5992944 commit 9cc8d87
Showing 1 changed file with 147 additions and 0 deletions.
147 changes: 147 additions & 0 deletions fsd_config/form_jsons/hsra/hsra-r1-eligibility.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"metadata": {},
"startPage": "/eligiblity-start",
"name": "Eligibility Test",
"pages": [
{
"path": "/eligiblity-start",
"title": "Eligibility",
"components": [
{
"name": "hsyuiX",
"options": {},
"type": "Html",
"content": "<p class=\"govuk-body\">Tell us if you are eligible</p>",
"schema": {}
}
],
"next": [
{
"path": "/eligibility-1"
}
],
"controller": "./pages/start.js"
},
{
"path": "/eligibility-1",
"title": "Eligibility Part 1",
"components": [
{
"name": "areyou",
"options": {},
"type": "RadiosField",
"title": "Do you think you are eligible?",
"list": "eligiblity-list",
"schema": {}
}
],
"next": [
{
"path": "/summary"
}
],
"section": "eAEGhH",
"controller": "EligibilityPageController"
},

{
"path": "/summary",
"title": "Check your answers",
"components": [
{
"name": "BsGzRm",
"options": {},
"type": "Para",
"content": "* Display answers *",
"schema": {}
}
],
"next": [],
"section": "eAEGhH",
"controller": "./pages/summary.js"
}
],
"lists": [
{
"title": "Do you think you are eligible?",
"name": "eligiblity-list",
"type": "string",
"items": [
{
"text": "Yes, I think I am",
"value": "Yes, I think I am"
},
{
"text": "Nope",
"value": "Nope"
}
]
}
],
"sections": [
{
"name": "eAEGhH",
"title": "Eligibility"
}
],
"conditions": [
{
"displayName": "eligible-no",
"name": "nonono",
"value": {
"name": "eligible-no",
"conditions": [
{
"field": {
"name": "areyou",
"type": "RadiosField",
"display": "Do you think you are eligible?"
},
"operator": "is",
"value": {
"type": "Value",
"value": "Nope",
"display": "Nope"
}
}
]
}
},
{
"displayName": "eligible-yes",
"name": "DtRJdr",
"value": {
"name": "eligible-yes",
"conditions": [
{
"field": {
"name": "areyou",
"type": "RadiosField",
"display": "Do you think you are eligible?"
},
"operator": "is",
"value": {
"type": "Value",
"value": "Yes, I think I am",
"display": "Yes, I think I am"
}
}
]
}
}
],
"fees": [],
"outputs": [
{
"name": "update-form",
"title": "Update form in application store",
"type": "savePerPage",
"outputConfiguration": {
"savePerPageUrl": "True"
}
}
],
"version": 2,
"skipSummary": false,
"markAsComplete": false
}

0 comments on commit 9cc8d87

Please sign in to comment.