diff --git a/app/routes/vaccinate.js b/app/routes/vaccinate.js
index 30873a88..32de31d8 100644
--- a/app/routes/vaccinate.js
+++ b/app/routes/vaccinate.js
@@ -311,6 +311,7 @@ module.exports = router => {
// Reset these value regardless of next step
data.injectionSite = ""
+ data.otherInjectionSite = ""
data.consent = ""
data.consentName = ""
diff --git a/app/views/vaccinate/check.html b/app/views/vaccinate/check.html
index 6efbac25..e47fe071 100644
--- a/app/views/vaccinate/check.html
+++ b/app/views/vaccinate/check.html
@@ -262,7 +262,7 @@
Vaccination
text: "Injection site"
},
value: {
- html: data.injectionSite
+ html: (data.otherInjectionSite if data.injectionSite == "other" else data.injectionSite)
},
actions: {
items: [
diff --git a/app/views/vaccinate/injection-site.html b/app/views/vaccinate/injection-site.html
index 791e51cb..8e5928a6 100644
--- a/app/views/vaccinate/injection-site.html
+++ b/app/views/vaccinate/injection-site.html
@@ -30,19 +30,23 @@
items: [
{
value: "Left buttock",
- text: "Left buttock"
+ text: "Left buttock",
+ checked: (data.otherInjectionSite == "Left buttock")
},
{
value: "Right buttock",
- text: "Right buttock"
+ text: "Right buttock",
+ checked: (data.otherInjectionSite == "Right buttock")
},
{
value: "Left thigh",
- text: "Left thigh"
+ text: "Left thigh",
+ checked: (data.otherInjectionSite == "Left thigh")
},
{
value: "Right thigh",
- text: "Right thigh"
+ text: "Right thigh",
+ checked: (data.otherInjectionSite == "Right thigh")
}
]
}) }}