precognition icon indicating copy to clipboard operation
precognition copied to clipboard

Multi step wizard

Open msirse opened this issue 5 months ago • 1 comments

Laravel Precognition Plugin Version

0.5.8

Laravel Version

11

Plugin

Vue w/ Inertia

Description

Multi step wizard and user validate first step and jump to second step. Then click back and jump back to first step.

If the user has not touched any fields, you cannot validate the same fileds. How can I now than form is alrady validated and skip validation, and jump to second step.

Steps To Reproduce

Step 1

skip validation if the user has not touched any fields and the form has already been validated or validate again....

form.touch(["first_name", "last_name"]).validate({ onSuccess: (response) => { nextStep() }, });

msirse avatar Sep 09 '24 10:09 msirse