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) }