Topic: Steppers Multiple Input Validation
justinestrada pro asked 6 years ago
I put multiple md-form inputs inside a step-new-content and it only requires the first input to be valid before accepting that the step is correct?
How do I make sure that it requires all the inputs to be validated before indicating that the step is correct??
Here is a codepen for the HTML related to the question: https://codepen.io/justinestrada/pen/PVKzRR
See screenshot
Jakub Mandra staff premium answered 6 years ago
Hi,
Linear steppers are meant to acquire from user to fulfill only one input or choose only one thing. That is not strictly imposed by our MDB library, but globally by Material Design assumptions.
There is no possibility to validate the whole form in one step, it cares about only the first input.
Best regards,
Jakub
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.6.1
- Device: Desktop
- Browser: Chrome
- OS: Mac OS
- Provided sample code: No
- Provided link: Yes