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

Loading…
Cancel
Save