This should be covered in the documentation, but it's not. How do I modify the error messages that are displayed when a field is not completed (eg. the email field). Currently, the error returns "Your Email cannot be blank." which I would like to change.

Also, an error no longer returns for the message field after I change it according to documentation like this:

<textarea class="form__textarea" rows="10" cols="40" id="message" name="message[body]">{{ message.message.body ?? '' }}</textarea>
{{ message is defined and message ? errorList(message.getErrors('message[body]')) }}

The first party contact form should be much easier to deploy and the documentation should be supplied with more full examples. I struggle every time I try to put a contact form on a website, and I cannot imagine I'm the only one. A contact form is a staple of a website, and paying $99-130 for Solspace's solution is overkill in most cases.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.