Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

bistech free asked 5 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 staff commented 5 years ago

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


bistech free answered 5 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 staff commented 5 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

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