agree box and advancements implemented

This commit is contained in:
7u83 2020-03-06 16:46:15 +00:00
parent dc88aac29c
commit 42d3126398
2 changed files with 35 additions and 0 deletions

27
ka.php
View File

@ -257,6 +257,33 @@ Grund für abweichende Kontoinhabende Person"></textarea>
</tbody>
</table>
</fieldset>
<br>
<fieldset>
<legend>3. Vorschuss und Sonstiges</legend>
<div class="is-row">
<div class="is-col valign="center"">
Ich habe bereits einen Vorschuss erhalten in
H&ouml;he von:
</div>
<div class="is-col">
<input type="text" placeholder="0,00 EUR"/>
</div>
</div>
<br>
<div class="is-row">
<div class="is-col valign="center"">
Ich versichere, dass ich alle Angaben
nach bestem Wissen und Gewissen gemacht habe:
</div>
<div class="is-col">
<input id="agree" type="checkbox" />
</div>
</div>
</fieldset>
</div>
<div class="is-col">

View File

@ -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&auml;tige, dass du alle Angaben nach bestem Wissen und Gewissen gemacht hast!");
return;
};
document.getElementById('banktype').value=banktype;