ändern des zurück Button Validierung aus

This commit is contained in:
Cay 2026-02-25 14:52:40 +00:00
parent 47a5e719a8
commit 4f73329c3d
7 changed files with 6 additions and 4 deletions

Binary file not shown.

View File

View File

@ -1 +0,0 @@
// test deploy Do 12. Feb 09:56:46 UTC 2026

0
type
View File

0
v6.3'
View File

View File

@ -265,17 +265,20 @@ let currentStep = 1;
function nextStep(step){
if(!validateStep(currentStep)) return;
// 👉 Nur validieren, wenn wir vorwärts gehen
if(step > currentStep){
if(!validateStep(currentStep)) return;
}
saveForm();
currentStep = step;
document.querySelectorAll('.step')
.forEach(s => s.classList.remove('active'));
.forEach(s => s.classList.remove('active'));
document.getElementById('step'+step)
.classList.add('active');
.classList.add('active');
updateNav();
updateProgress();

Binary file not shown.