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

Branch error messages #38

Closed
lightskinnnn38 opened this issue Oct 28, 2015 · 1 comment
Closed

Branch error messages #38

lightskinnnn38 opened this issue Oct 28, 2015 · 1 comment

Comments

@lightskinnnn38
Copy link

Hello!
I would like to display an error message next to each empty or non-valid field on each branch instead of the "alert" that is in the current example (Example 3). I was trying to add elements from Example 1 into Example 3 and I couldn't get it to work. My best guess is that I need to replace the line below with something else?

if ( !branch ) {
    alert( "Please select a value to continue." );
}

My wizard will contain both select and text fields.

Could you help me understand how to add error messages? Thank you!

@kflorence
Copy link
Owner

@lightskinnnn38 Yes, you will need to replace that logic with something else. Unfortunately, issues is not the best place for questions like this. Would you mind posting it on stackoverflow.com instead?

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