From d49aa9b43bc86679e96251075416cd78d5d8c6de Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 5 Oct 2021 13:03:28 +0100 Subject: [PATCH] Make major repairs date conditional on major repairs having been done --- config/forms/2021_2022.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 3a924c3e7..8e81ac28c 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -990,15 +990,12 @@ "answer_options": { "0": "Yes", "1": "No" + }, + "conditional_for": { + "property_major_repairs_date": ["Yes"] } - } - } - }, - "property_major_repairs_date": { - "header": "", - "description": "", - "questions": { - "property_major_repairs": { + }, + "property_major_repairs_date": { "check_answer_label": "What was the major repairs completion date?", "header": "What was the major repairs completion date?", "hint_text": "For example, 27 3 2007",