I created simple contact me form and want to post form data to PHP page where data will be stored.
I am unable to figure out where to upload create_form.php file. Blow is my code.
<form name="customer-details" method="POST" onsubmit="return formValidation() action="contact_form.php">
<fieldset>
<legend>Personal information:</legend>
Name:*<br>
<input type="text" id="name" name="name" placeholder="Your Name"><br>
Company Name:<br>
<input type="text" id="company" name="company" placeholder="Your company Name"><br>
Email Address*:<br>
<input type="email" id="email" name="email" placeholder="Your Email Address"><br>
Interested in:<br>
<input type="text" id="interest" name="interest" placeholder="Interested in"><br>
Your query*:<br>
<textarea id="query" name="query" placeholder="Your query here(more then 10 words)..."></textarea><br>
<button id="submitBtn" name="submitBtn" type="submit">Submit Form</button>
</fieldset>
</form>
I saved contact_form.php file inside my themes folder. When I click on submit button, page is not found. Which is correct path to put contact_form.php file.