Currently for school I have to make a contact form with Javascript validation that will check whether name, email etc is filled in. If so, it has to run a php code to send the email ofcourse.
Right now I finished all the javascript validation, but I'm a bit stuck regarding on how to activate php code to send the email after the javascript validation is finished..
I'm not allowed to use anything else like AJAX, Jquery.. I've seen many posts about this, but they were all about these languages..
I wasn't planning about redirecting and using a landing page after submitting the form.