i'm trying to build a multipage form and it already looks pretty similar to this one here: https://www.wix.com/code/home/example/Multistage-Form
But now, I've got a question:
There's a button to get to the next page. Is it possible to make this button only available when the input on the current slide is valid? As an example: In this multistage form here, "First Name" is required. I want to achieve, that the button "Save & Continue" only works, if "First Name" is valid, so somebody typed his name in that field.
Same if somebody typed text into a number-field. This is not valid, so the button should not be available so that the user can't jump to the next slide.
Looking forward to your help!