In the Contactform plugin page there's a code example that's confusing me.
Only the email and message are required in the code, but the fromName field does have an error syntax:
<input id="fromName" type="text" name="fromName" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
{{ message is defined and message ? errorList(message.getErrors('fromName')) }}
What's the use of the getErrors here? I've tried using rare characters, but no errors?