From abcd71c113facf72b44a135bfd09ca30180c74b1 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 30 Oct 2021 23:20:46 +0100 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index aeb63034..84480823 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -210,6 +210,13 @@ } } + + + if (!$("#id_examination_to option").length) { + alert("Please add examination type") + evt.preventDefault(); + } + })