I have create a form on a wordpress page, and I'm trying to pass the values of the form to a php page, so I can send an email with that information, but I don't know how to create the php page, in what folder do I have to save the page.
Thank you (fist time using wordpress);
This is my form: And I have a different page(send-email) that will collect the data.
I know how to do the code for the send-email page..I just nee dto know where to save the php page.
<form method="get" action="send-email.php" name="emailForm" onsubmit="return validate()">
<div class="form-group">
<label for="name">Name<span id="req">*</span></label><br>
<input type="text" class="form-control" id="name" name="name" placeholder="Quantum Management" value="">
</div>
<div class="form-group">
<label for="tel">Phone Number<span id="reqTel">*</span></label><br>
<input type="text" class="form-control" id="tel" name="tel" placeholder="(999) 123-4567" value="" >
</div>
<div class="form-group">
<label for="email">Email<span id="reqEmail">*</span></label><br>
<input type="text" class="form-control" id="email" name="email" placeholder="example@example.com" value="" >
</div>
<div class="form-group">
<label for="questions">Questions<span id="reqQuest">*</span></label><br>
<textarea class="form-control" rows="7" cols="8" id="questions" name="questions" placeholder="Questions" ></textarea>
</div>
<div class="form-group">
<button type="submit" class="btn btn-default" name="submit" value="yes">Submit</button>
</div>
</form>