From a96b1762e0fed6b8d2e463342d799cc5633c582b Mon Sep 17 00:00:00 2001 From: renaldybrada Date: Thu, 12 Mar 2026 08:37:16 +0700 Subject: [PATCH] fixing specimen row --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 7ba11cf..f3002b1 100644 --- a/index.php +++ b/index.php @@ -701,6 +701,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { if (e.target.classList.contains("addSpecimen")) { let row = document.querySelector(".specimenRow").cloneNode(true) + + row.querySelector('input[name="jumlah_specimen[]"]').value = "" + document.getElementById("specimenContainer").appendChild(row) }