Topic: Data-validator not working
alvintng pro asked 5 years ago
The function assigned to the HTML tag data-validator is not called. data-feedback works fine.
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: Laptop
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff commented 5 years ago
How can we recreate your issue?
alvintng pro commented 5 years ago
Simply use the data-validator tag in a stepper. The corresponding jquery does not get called.
that is <input data-validator=randomfunction> does not run the randomfunction on submit or on next-step.
In any case, your documentation on data-validator is not sufficient.
Anna Morawska staff commented 5 years ago
Hi there,
thank you for reporting this, we appreciate this. We will add it to our TODO list.
Best,
Ania
alvintng pro commented 5 years ago
Hi if you're not going to resolve this, you may want to take it down from your stepper site. Its really misleading.
Also, if it's not here, how could I do validations on the inputs in a stepper then?