Topic: File Input MDB validation
splico free asked 6 years ago
Hi guys, I am trying to find out how to do File input validation, meaning file upload is required, I am using JQuery MDB, material file input uploader. examples online don't show what am I missing.
Marta Wierzbicka staff answered 6 years ago
Hi,
add "required" to your input like here:
https://mdbootstrap.com/snippets/jquery/marta-szymanska/200710
Best,
Marta
refreshcreativemedia pro commented 5 years ago
How do you show invalid feedback on this?
MDBootstrap staff commented 5 years ago
Hi, to trigger function on validation use data-feedback. We have documentation for this tag here: https://mdbootstrap.com/docs/jquery/components/stepper/#feedback
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.14
- Device: PC
- Browser: Chrome
- OS: Win 10
- Provided sample code: No
- Provided link: No