-
Notifications
You must be signed in to change notification settings - Fork 123
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
Disable last Nav Step #33
Comments
I'm not sure I understand... You want to remove the last step from the navigation bar but still be able to get to it? If that's the case you could simply hide it, for example: $('.idealsteps-nav li:last').hide(); Otherwise, can you show a picture or a demo of what you're trying to achieve? |
Hi Thanks for looking at this for me, I do appreciate it. I also apologize for my lack of knowledge! I also want to link to the last step of the form once submitted. |
Well, there's nothing built-in, but you could remove the events from the last element like: $('.idealsteps-nav li:last').off('click'); And then style it with css to look disabled: /* You may have to play with other selectors
to style the different parts of the element */
.idealsteps-nav li:last-child {
background-color: #666;
} You should still be able to run the .idealforms('lastStep') method to get to the last tab. So you can attach it to a button like shown in the demo. |
Hi Many thanks again. So I need to link direct to the laststep of the form. any help much appreciated. |
Hi, Sorry if this is not the place. But I am trying to have the last step as a thank you page. How do I disable the last link in the nav bar?
Many thanks.
The text was updated successfully, but these errors were encountered: