ändern des zurück Button Validierung aus
This commit is contained in:
parent
47a5e719a8
commit
4f73329c3d
BIN
deploy-test.txt
BIN
deploy-test.txt
Binary file not shown.
@ -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();
|
||||
|
||||
BIN
webhook-test.txt
BIN
webhook-test.txt
Binary file not shown.
Loading…
Reference in New Issue
Block a user