Browse Source

Make GDPR acceptance explicit dependency

pull/98/head
baarkerlounger 4 years ago
parent
commit
ad1fe1ae3e
  1. 20
      config/forms/2021_2022.json

20
config/forms/2021_2022.json

@ -31,7 +31,7 @@
"description": "We cannot accept data about a tenant or buyer unless they’ve seen the DLUHC privacy notice.", "description": "We cannot accept data about a tenant or buyer unless they’ve seen the DLUHC privacy notice.",
"questions": { "questions": {
}, },
"depends_on": { "gdpr_acceptance": "Yes" } "depends_on": { "gdpr_acceptance": "No" }
}, },
"organisation_details": { "organisation_details": {
"header": "About this log", "header": "About this log",
@ -57,7 +57,8 @@
"1": "B" "1": "B"
} }
} }
} },
"depends_on": { "gdpr_acceptance": "Yes" }
}, },
"sale_or_letting": { "sale_or_letting": {
"header": "About this log", "header": "About this log",
@ -73,7 +74,8 @@
"1": "Letting" "1": "Letting"
} }
} }
} },
"depends_on": { "gdpr_acceptance": "Yes" }
}, },
"tenant_same_property_renewal": { "tenant_same_property_renewal": {
"header": "About this log", "header": "About this log",
@ -90,7 +92,7 @@
} }
} }
}, },
"depends_on": { "sale_or_letting": "Letting" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Letting" }
}, },
"startdate": { "startdate": {
"header": "About this log", "header": "About this log",
@ -103,7 +105,7 @@
"type": "date" "type": "date"
} }
}, },
"depends_on": { "sale_or_letting": "Letting" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Letting" }
}, },
"about_this_letting": { "about_this_letting": {
"header": "Tell us about this letting", "header": "Tell us about this letting",
@ -142,7 +144,7 @@
} }
} }
}, },
"depends_on": { "sale_or_letting": "Letting" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Letting" }
}, },
"tenant_code": { "tenant_code": {
"header": "", "header": "",
@ -155,7 +157,7 @@
"type": "text" "type": "text"
} }
}, },
"depends_on": { "sale_or_letting": "Letting" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Letting" }
}, },
"sale_completion_date": { "sale_completion_date": {
"header": "Sale Completion Date", "header": "Sale Completion Date",
@ -168,7 +170,7 @@
"type": "date" "type": "date"
} }
}, },
"depends_on": { "sale_or_letting": "Sale" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Sale" }
}, },
"purchaser_code": { "purchaser_code": {
"header": "About this log", "header": "About this log",
@ -181,7 +183,7 @@
"type": "text" "type": "text"
} }
}, },
"depends_on": { "sale_or_letting": "Sale" } "depends_on": { "gdpr_acceptance": "Yes", "sale_or_letting": "Sale" }
} }
} }
} }

Loading…
Cancel
Save