From 6dc89697e95664573f2c35ed82c90926131c8114 Mon Sep 17 00:00:00 2001 From: Eoghan Conlon Date: Sun, 27 Aug 2023 17:12:19 +0100 Subject: [PATCH] Failure case for not selecting an option now a permanent solution rather than an alert Signed-off-by: Eoghan Conlon --- src/recovery/password.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recovery/password.html b/src/recovery/password.html index b4d290e..ffa242d 100644 --- a/src/recovery/password.html +++ b/src/recovery/password.html @@ -29,7 +29,7 @@ listener.preventDefault(); const option = document.getElementById('options').value.toString(); if (option === '') { - alert("Need to implement this"); + document.getElementById('formStatus').innerHTML = "Failure: Please select an option, then try again"; } else { const formData = new FormData(formEl); const value = formData.get('value');