Browse Source

Add outstanding amount conditionally and update check-answers

pull/824/head
natdeanlewissoftwire 3 years ago
parent
commit
ac88f4e4a0
  1. 25
      config/forms/2022_2023.json

25
config/forms/2022_2023.json

@ -7819,17 +7819,15 @@
} }
] ]
}, },
"outstanding_amount_known": { "outstanding_amount": {
"header": "", "header": "",
"description": "", "description": "",
"questions": { "questions": {
"tshortfall_known": { "tshortfall_known": {
"check_answer_label": "", "check_answer_label": "Do you know the outstanding amount?",
"header": "", "header": "Can you estimate the outstanding amount?",
"hint_text": "", "hint_text": "You only need to give an approximate figure.",
"hidden_in_check_answers": true,
"type": "radio", "type": "radio",
"derived": true,
"answer_options": { "answer_options": {
"0": { "0": {
"value": "Yes" "value": "Yes"
@ -7837,19 +7835,14 @@
"1": { "1": {
"value": "No" "value": "No"
} }
},
"conditional_for": {
"tshortfall": [0]
} }
} },
},
"depends_on": [false]
},
"outstanding_amount": {
"header": "",
"description": "",
"questions": {
"tshortfall": { "tshortfall": {
"check_answer_label": "Estimated outstanding amount", "check_answer_label": "Estimated outstanding amount",
"header": "What do you expect the outstanding amount to be?", "header": "Estimated outstanding amount",
"hint_text": "Give an estimated amount if you don’t know the exact figure.",
"type": "numeric", "type": "numeric",
"min": 0, "min": 0,
"step": 0.01, "step": 0.01,

Loading…
Cancel
Save