Mark fields as required
This commit is contained in:
parent
928dbde30f
commit
5575a55b78
|
@ -8,22 +8,22 @@ layout: page
|
||||||
<form action="https://formspree.io/{{ site.email }}" method="POST">
|
<form action="https://formspree.io/{{ site.email }}" method="POST">
|
||||||
<div class="form__name">
|
<div class="form__name">
|
||||||
<label for="name">Name</label>
|
<label for="name">Name</label>
|
||||||
<input type="text" name="name">
|
<input type="text" name="name" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form__email">
|
<div class="form__email">
|
||||||
<label for="email">Email</label>
|
<label for="email">Email</label>
|
||||||
<input type="email" name="email">
|
<input type="email" name="email" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form__subject">
|
<div class="form__subject">
|
||||||
<label for="subject">Subject</label>
|
<label for="subject">Subject</label>
|
||||||
<input type="text" name="subject">
|
<input type="text" name="subject" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form__message">
|
<div class="form__message">
|
||||||
<label for="message">Message</label>
|
<label for="message">Message</label>
|
||||||
<textarea name="message" rows="5"></textarea>
|
<textarea name="message" rows="5" required></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form__actions">
|
<div class="form__actions">
|
||||||
|
|
Reference in a new issue