<label class="name">
  <input type="text" placeholder="Name:" data-constraints="@JustLetters" />
  <span class="empty-message">*This field is required.</span>
  <span class="error-message">*This is not a valid name.</span>
</label>