Unable to Post (Not triggering the submit) in Stepper


Topic: Unable to Post (Not triggering the submit) in Stepper

bistech asked 6 years ago

Expected behavior Submit Form

Actual behavior Nothing happening

Resources (screenshots, code snippets etc.) Errors in console under Chrome Developer mode stepper.min.js:1 Uncaught TypeError: Cannot read property 'settings' of undefined at Function.staticRules (stepper.min.js:1) at n.fn.init.rules (stepper.min.js:1) at HTMLInputElement. (stepper.min.js:1) at jquery-2.1.1.min.js:2 at Function.grep (jquery-2.1.1.min.js:2) at x (jquery-2.1.1.min.js:2) at n.fn.init.filter (jquery-2.1.1.min.js:2) at t.validator.elements (stepper.min.js:1) at t.validator.checkForm (stepper.min.js:1) at t.validator.form (stepper.min.js:1)


Grzegorz Bujański commented 6 years ago

Hi. I can't reproduce this error. Create snippet here: https://mdbootstrap.com/snippets/ to show me your code.


bistech answered 6 years ago

Found the issue, the form tag need to be outside the stepper ul tag, as stepper class inside the ul tag generate its own form.


Grzegorz Bujański commented 6 years ago

I'm glad you were able to solve the problem.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.11
  • Device: Desktop PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags