From afe0d5f1d09259c3a193384ce871bfbeb31ebdd8 Mon Sep 17 00:00:00 2001 From: MuchQuak Date: Thu, 16 May 2024 17:28:55 -0700 Subject: [PATCH] close #1320, addes check for catnum --- js/symb/collections.map.index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/symb/collections.map.index.js b/js/symb/collections.map.index.js index 13938812c7..15014b2f8c 100644 --- a/js/symb/collections.map.index.js +++ b/js/symb/collections.map.index.js @@ -206,6 +206,7 @@ function verifyCollForm(f) { break; } } + if (!formVerified) { alert("Please choose at least one collection!"); return false; @@ -246,7 +247,8 @@ function verifyCollForm(f) { f.polycoords.value == "" && f.collector.value == "" && f.collnum.value == "" && - f.eventdate1.value == "" + f.eventdate1.value == "" && + f.catnum.value == "" ) { alert("Please fill in at least one search parameter!"); return false;