Forums

Multipage validation behaviour

restore 11 Sep, 2018
Hallo there,
im in need of some advice about validation of multipage form. I created seven page long monster with many validated fields - default behaviour is red tooltip when something was forgotten on all pages but last. For some reason, last one will instead redirect at the beginning of the form. I have set remembering values for this case so customer just need to get to the end and finish it properly. Only difference is the event that is loaded, submit instead of next page. Im unable to find out, what is behind this and why submit event functions like this. Could you elaborate some ideas or theories why? (submit event is also started by 'multipage' segment)
healyhatman 12 Sep, 2018
Probably because it fails the last validation, which loads the previous sub mit event, and THAT one's validation fails, so goes back to the one before that, and THAT validation fails etcetc.

If you have a multipage action on each submit event, I would do your data validation using {session:multipage} as your data source instedad of {data:}
This topic is locked and no more replies can be posted.