MDB-Select and jQuery Validation Plug-In not working


Topic: MDB-Select and jQuery Validation Plug-In not working

ayescas pro premium priority asked 4 years ago

Hello, I'm using the MDB steeper, and I cannot apply any validation using the jQuery Plugin on MDB-Select inputs. How can I apply a jQuery rule to validate an MDB-select input. Thanks.

Alex

https://mdbootstrap.com/snippets/standard/ayescas/2864153#js-tab-view


Krzysztof Wilk staff answered 4 years ago

Hi!

Your example contains two separate forms so the stepper won't work. Every MDB Stepper element should be in one form.

According to the select elements - I think this example could be helpful :) https://mdbootstrap.com/snippets/jquery/krzysztof-wilk/2042824#html-tab-view

Best regards


ayescas pro premium priority commented 4 years ago

How would I apply the validation to individual elements using the ID-class ?


Krzysztof Wilk staff commented 4 years ago

Hi!

Our validation must be applied to a whole form element, so I'm afraid this is not achievable without custom JavaScript code.

Best regards


ayescas pro premium priority answered 4 years ago

thank you so much, will check it out...thanks.


Krzysztof Wilk staff commented 4 years ago

Hi!

If you have more questions - feel free to ask :)

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: MacBook Pro
  • Browser: Safari
  • OS: 10.15
  • Provided sample code: No
  • Provided link: Yes