Topic: Problem on Append data from other file

technomat priority asked 10 months ago


Hello,

I'am trying to make a form and i want to append extra html fields from another file using ajax jquery if the user selects a specific option on the selection field. The fields i append are giving me a console error and doesnt look right

enter image description hereenter image description hereenter image description here


Kamila Pieńkowska staff answered 10 months ago


You need to init with JS fields that were not present or visible on the initial page load.

Link to dynamic input initialization from the documentation: https://mdbootstrap.com/docs/standard/forms/input-fields/#section-dynamic-input-initialization

If you encounter any additional difficulties, please feel free to recreate the problem in code snippets and share it with us here.



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: Priority
  • Premium support: Yes
  • Technology: Other
  • MDB Version: -
  • Device: PC
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No