From 42d31263983ac01ee3696f8c1fa2a4db3ef438b6 Mon Sep 17 00:00:00 2001
From: 7u83 <7u83>
Date: Fri, 6 Mar 2020 16:46:15 +0000
Subject: [PATCH] agree box and advancements implemented
---
ka.php | 27 +++++++++++++++++++++++++++
kaform.js | 8 ++++++++
2 files changed, 35 insertions(+)
diff --git a/ka.php b/ka.php
index 9fc3b66..3152605 100644
--- a/ka.php
+++ b/ka.php
@@ -257,6 +257,33 @@ Grund für abweichende Kontoinhabende Person">
+
+
+
diff --git a/kaform.js b/kaform.js
index c723eb8..e9e5ba3 100644
--- a/kaform.js
+++ b/kaform.js
@@ -113,6 +113,8 @@ function addTableRow(){
return;
}
*/
+
+
var a_date = document.getElementById("a_date").value;
if (!a_date.trim().length){
document.getElementById("a_date").focus();
@@ -343,6 +345,12 @@ function downloadDocument()
}
+ if (!document.getElementById("agree").checked){
+ document.getElementById("agree").focus();
+ showAlert("Bitte bestätige, dass du alle Angaben nach bestem Wissen und Gewissen gemacht hast!");
+ return;
+ };
+
document.getElementById('banktype').value=banktype;