Simple Contact Form
This is a simple contact form that allows users to input their details and send inquiries directly.
Fields Included
- Name: The user's full name.
- Email: The user's email address for replies.
- Message: The user's message or inquiry.
Implementation
Here is an example of how the form can be implemented:
<form action="/submit-form" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Send</button>
</form>
How It Works
When the form is submitted, the data is sent to the provided action URL using a POST request. Ensure that the server is set up to handle incoming form data.