From 0bd377b3264d4a5233f5bebf963383873119fe5c Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 30 Oct 2021 23:47:22 +0100 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 451ee02b..90688e50 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -206,7 +206,7 @@ if (!normal) { if ($('#id_answers-TOTAL_FORMS').val() == "0") { add_answers_input_form(); - alert("Please add an answer") + toastr.error(`Please enter an answers (or select Normal)`); evt.preventDefault(); } @@ -214,7 +214,7 @@ if (!$("#id_examination_to option").length) { - alert("Please add examination type") + toastr.rerror("Please add examination type") evt.preventDefault(); }