Form javascript does not work


Topic: Form javascript does not work

Michellé Weekhout asked 3 years ago

Hi, im following the https://mdbootstrap.com/docs/b4/jquery/forms/contact/ tutorial and im having some issues regarding java script. Html & php work. But im getting errors in javascript. Could someone help me please?

Javascript & errors


Marcin Luczak staff answered 3 years ago

Hi,

Following the tutorial, this code should be pasted inside the validateForm function instead of the javascript validation section, but from what I see your script is a standalone code. I'd recommend you download the source code from the bottom of the AJAX documentation example and examine it with your code.

Keep coding, Marcin


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: MDB4 4.20.0
  • Device: dreamweaver
  • Browser: chrome
  • OS: Mac
  • Provided sample code: No
  • Provided link: Yes