Topic: File Input MDB validation

splico free asked 4 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 4 years ago


add "required" to your input like here:



refreshcreativemedia pro commented 4 years ago

How do you show invalid feedback on this?

MDBootstrap staff commented 4 years ago

Hi, to trigger function on validation use data-feedback. We have documentation for this tag here:

Please insert min. 20 characters.


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



Specification of the issue

  • User: 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