I have the following form and I would like that when someone hits the submit button it would email our restaurant the username entered and location entered by the client:
what could should I add if I wanted to receive whatevers been input there by the client to be sent to our restaurant gmail account?
HTML:
<form action="/Food/Send" method="GET" name="form">
<div class="form">
<span>
<input type="text" name="username" id="username" class="login" placeholder="Food ID" required>
</span>
<span>
<input type="location" name="location" id="location" class="location" placeholder="Location" required>
<i id="submit" class="fal fa-arrow-circle-right"></i>
</span>
</div>
</form>
what could should I add if I wanted to receive whatevers been input there by the client to be sent to our restaurant gmail account?
Last edited by a moderator: