Topic: Stepper documentation is lacking content

Schulz pro asked 6 years ago


I'm missing some points in the steppers documentation - especially at the feedback/validation sections. Feedback step: "If you want, for example, to check if an e-mail exists in your DB, you can define a feedback function with data-feedback attribute in your next button. " ... and if so I don't want the user to continue to the next page but make him choose another email. The documentation only shows the nextStep() function which would be the successfully option. What do I do when I want to prevent to user to continue? Validation Step: The documentation's example doesn't use the data-validator tag at all (and the loading circle loads inifinitely). I unsuccessfully tried to use the validate stepper. I added the data-validator tag to the button, added a simple, false returning function to the js and I still could continue. What's the difference between validator and feedback? They both seem to be some kind of validation.

Piotr Glejzer staff commented 6 years ago

Hi, 

Yes, they are both kinds of validation. We are very sorry about that misunderstanding. We will fix problems about steppers as soon as possible and we will probably update steppers in next release. 

Best

Piotr


Gregori Salazar free answered 4 years ago


$('#inputUsername').addClass("is-invalid");
$('#inputEmail').addClass("is-invalid");

This works for me, close the modal



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags