Browse Source

edit forms

pull/193/head
MadeTech Dushan 4 years ago
parent
commit
8719bc8924
  1. 18
      config/forms/2021_2022.json
  2. 72
      config/forms/2022_2023.json

18
config/forms/2021_2022.json

@ -1054,24 +1054,6 @@
"label": "Tenancy information", "label": "Tenancy information",
"depends_on": { "about_this_log": "completed" }, "depends_on": { "about_this_log": "completed" },
"pages": { "pages": {
"joint_tenancy": {
"header": "",
"description": "",
"questions": {
"jointtenancy": {
"check_answer_label": "Is this a joint tenancy?",
"header": "Is this a joint tenancy?",
"hint_text": "",
"type": "radio",
"answer_options": {
"0": "Yes",
"1": "No",
"2": "Don't know"
}
}
},
"depends_on": { "conditions" : ["is_22_23_log?(case_log[\"startdate\"])"] }
},
"starter_tenancy": { "starter_tenancy": {
"header": "", "header": "",
"description": "", "description": "",

72
config/forms/2022_2023.json

@ -1025,35 +1025,36 @@
"label": "Tenancy information", "label": "Tenancy information",
"depends_on": {"about_this_log": "completed"}, "depends_on": {"about_this_log": "completed"},
"pages": { "pages": {
"starter_tenancy": { "joint_tenancy": {
"header": "", "header": "",
"description": "", "description": "",
"questions": { "questions": {
"startertenancy": { "jointtenancy": {
"check_answer_label": "Is this a starter or introductory tenancy?", "check_answer_label": "Is this a joint tenancy?",
"header": "Is this a starter tenancy?", "header": "Is this a joint tenancy?",
"hint_text": "", "hint_text": "",
"type": "radio", "type": "radio",
"answer_options": { "answer_options": {
"0": "Yes", "0": "Yes",
"1": "No" "1": "No",
"2": "Don't know"
} }
} }
} }
}, },
"fixed_term_tenancy": { "starter_tenancy": {
"header": "", "header": "",
"description": "", "description": "",
"questions": { "questions": {
"tenancylength": { "startertenancy": {
"check_answer_label": "If the main tenancy is a fixed term tenancy, please provide the length of the fixed term (to the nearest year) excluding any starter/introductory period", "check_answer_label": "Is this a starter or introductory tenancy?",
"header": "If fixed-term, what is the length of the fixed-term tenancy after any starter period?", "header": "Is this a starter tenancy?",
"hint_text": "To the nearest year", "hint_text": "",
"type": "numeric", "type": "radio",
"min": 0, "answer_options": {
"max": 150, "0": "Yes",
"step": 1, "1": "No"
"width": 4 }
} }
} }
}, },
@ -1067,11 +1068,12 @@
"hint_text": "", "hint_text": "",
"type": "radio", "type": "radio",
"answer_options": { "answer_options": {
"0": "Secure (including flexible)", "0": "Fixed-term - secure",
"1": "Assured", "1": "Fixed-term - assured shorthold",
"2": "Assured Shorthold", "2": "Lifetime - secure",
"3": "Licence agreement (almshouses only)", "3": "Lifetime - assured",
"4": "Other" "4": "Licence agreement",
"5": "Other"
}, },
"conditional_for": { "conditional_for": {
"tenancyother": ["Other"] "tenancyother": ["Other"]
@ -1084,18 +1086,36 @@
} }
} }
}, },
"letting_provider": { "fixed_term_tenancy": {
"header": "",
"description": "",
"questions": {
"tenancylength": {
"check_answer_label": "If the main tenancy is a fixed term tenancy, please provide the length of the fixed term (to the nearest year) excluding any starter/introductory period",
"header": "If fixed-term, what is the length of the fixed-term tenancy after any starter period?",
"hint_text": "To the nearest year",
"type": "numeric",
"min": 0,
"max": 150,
"step": 1,
"width": 4
}
}
},
"letting_in_sheltered_accomodation": {
"header": "", "header": "",
"description": "", "description": "",
"questions": { "questions": {
"landlord": { "lettinginshelteredaccomodation": {
"check_answer_label": "Provider", "check_answer_label": "Is this letting in sheltered accommodation?",
"header": "Who is the letting provider?", "header": "Is this letting in sheltered accommodation?",
"hint_text": "", "hint_text": "",
"type": "radio", "type": "radio",
"answer_options": { "answer_options": {
"0": "This landlord", "0": "Yes - specialist retirement housing",
"1": "Another registered provider - includes housing association or local authority" "1": "Yes - extra care housing",
"2": "No",
"3": "Don't know"
} }
} }
} }

Loading…
Cancel
Save