From b2f0f1ebca85bc86ecb77b801a52627b2f1ab59d Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 11 Jan 2022 13:16:49 +0000 Subject: [PATCH] Add rent period question and check multiple condition sets for depends_on cherry picked from CLDC-632-income-and-benefits-section branch --- config/forms/2021_2022.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 7a4ad78cf..6c013b86b 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -1994,6 +1994,41 @@ "depends_on": [{ "needstype": "Supported housing" }] }, "rent_period": { + "header": "", + "description": "", + "questions": { + "period": { + "check_answer_label": "Rent Period", + "header": "How often does the household pay rent and other charges?", + "hint_text": "", + "type": "radio", + "answer_options": { + "0": "Weekly for 52 weeks", + "1": "Fortnightly", + "2": "Four-weekly", + "3": "Calendar monthly", + "4": "Weekly for 50 weeks", + "5": "Weekly for 49 weeks", + "6": "Weekly for 48 weeks", + "7": "Weekly for 47 weeks", + "8": "Weekly for 46 weeks", + "9": "Weekly for 53 weeks" + } + } + }, + "depends_on" : [{ + "nocharge": "Yes" + },{ + "nocharge": null + }] + } + } + }, + "rent": { + "label": "Rent", + "depends_on": [{ "about_this_log": "completed" }], + "pages": { + "rent": { "header": "", "description": "", "questions": {