diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 859e5fa14..0f59cad7f 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -1127,13 +1127,69 @@ "property_information": { "label": "Property information", "pages": { - "property_location": { + "property_reference": { + "header": "", + "description": "", + "questions": { + "propcode": { + "check_answer_label": "What’s the property reference?", + "header": "What's the property reference?", + "hint_text": "", + "type": "text" + } + } + }, + "property_postcode": { + "header": "", + "description": "", + "questions": { + "do_you_know_the_postcode": { + "check_answer_label": "Do you know the property postcode?", + "header": "do_you_know_the_postcode?", + "hint_text": "", + "type": "radio", + "answer_options": { + "0": "Yes", + "1": "No" + }, + "conditional_for": { + "property_postcode": ["Yes"] + } + }, + "property_postcode": { + "check_answer_label": "", + "header": "", + "hint_text": "", + "type": "text" + } + } + }, + "do_you_know_the_local_authority": { + "header": "", + "description": "", + "questions": { + "do_you_know_the_local_authority": { + "check_answer_label": "Do you know what local authority the property is located in?", + "header": "Do you know what local authority the property is located in?", + "hint_text": "", + "type": "radio", + "answer_options": { + "0": "Yes", + "1": "No" + } + } + }, + "conditional_route_to": { + "why_dont_you_know_la": { "do_you_know_the_local_authority": "No" } + } + }, + "select_local_authority": { "header": "", "description": "", "questions": { - "la": { - "check_answer_label": "Property Location", - "header": "Property location", + "select_local_authority": { + "check_answer_label": "Local Authority", + "header": "Select a local authority", "hint_text": "", "type": "radio", "answer_options": { @@ -1454,16 +1510,35 @@ } } }, - "property_postcode": { + "why_dont_you_know_la": { "header": "", "description": "", "questions": { - "property_postcode": { - "check_answer_label": "What was the previous postcode?", - "header": "What is the property's postcode?", + "why_dont_you_know_la": { + "check_answer_label": "Reason for not knowing local authority", + "header": "Give a reason why you don't know the postcode or local authority", "hint_text": "", "type": "text" } + }, + "conditional_route_to": { + "organisation_details": { "do_you_know_the_local_authority": "No" } + } + }, + "first_time_property_let_as_social_housing": { + "header": "", + "description": "", + "questions": { + "first_time_property_let_as_social_housing": { + "check_answer_label": "Which type was the property most recently let as?", + "header": "Is this property a relet?", + "hint_text": "", + "type": "radio", + "answer_options": { + "0": "Yes", + "1": "No" + } + } } }, "property_relet": { @@ -1510,18 +1585,6 @@ } } }, - "property_reference": { - "header": "", - "description": "", - "questions": { - "propcode": { - "check_answer_label": "What’s the property reference?", - "header": "What's the property reference?", - "hint_text": "", - "type": "text" - } - } - }, "property_unit_type": { "header": "", "description": "", diff --git a/config/forms/property_information.json b/config/forms/property_information.json new file mode 100644 index 000000000..e808bdd46 --- /dev/null +++ b/config/forms/property_information.json @@ -0,0 +1,17 @@ +{ + "form_type": "lettings", + "start_year": 2021, + "end_year": 2022, + "sections": { + "property_information": { + "label": "Property Information", + "subsections": { + "about_this_log": { + "label": "About this log", + "pages": { + } + } + } + } + } +} \ No newline at end of file