implement autoform clear

This commit is contained in:
2021-06-04 18:38:49 +02:00
parent 77e58305da
commit ead1a05c2e
2 changed files with 7 additions and 2 deletions

View File

@@ -263,3 +263,8 @@ if(fastposSubmission){
fastposSubmission.addEventListener("focus", fastPosChangedFunc)
}
setInterval(queryForPlayerData(), 3000)
formContainer = document.getElementById("form-container")
if(formContainer){
formContainer.reset()
}

View File

@@ -34,7 +34,7 @@
<hr>
<div class="row">
<form id="form-container" class="row">
{% for side in sides %}
<div class="col-sm">
{% for field in range(5) %}
@@ -71,7 +71,7 @@
{% endfor %}
</div>
{% endfor %}
</div>
</form>
<hr>
<textarea type="text" id="multi-line-copy" rows="10"