Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No jump back to invalid step when submitting form #18

Open
visicode opened this issue Sep 29, 2012 · 1 comment
Open

No jump back to invalid step when submitting form #18

visicode opened this issue Sep 29, 2012 · 1 comment

Comments

@visicode
Copy link

When submitting a form containing invalid fields in previous steps, plugin will not jump back to bad step, like back and next buttons do!

This situation can occur when a field is under Ajax checking, so answer is delayed.

@farrukhsubhani
Copy link

When you get back from ajax and there are validation errors that you think are server side and ajax is returning if there is an error or success then get a variable back from server telling you which step to goto.
Then on completion simply call this (assuming your step is i = 2)
$('#myselector').stepy("step",i);

this will take you to step 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants