I am having some issues understanding why validation is not working on my entry forms.
I've got an entry with several field types which aren't of type "entries" and the required validation is working properly on my front end forms using craft's error macro
{% macro errorList(errors) %}
{% if errors %}
{% for error in errors %}
{% endfor %}
{% endif %}
{% endmacro %}
The validation is NOT working on my fields which are of type "entries". Do you have to pass in the error object differently to the macro since "entries" are an array?
I have tried calling the error macro like this...
{% if entry is defined %}
{{ formErrors.errorList(entry.getErrors('houseCollege[0]')) }}
{% endif %}
and this...
{% if entry is defined %}
{{ formErrors.errorList(entry.getErrors('houseCollege[]')) }}
{% endif %}
and this...
{% if entry is defined %}
{{ formErrors.errorList(entry.getErrors('houseCollege')) }}
{% endif %}
and yes, I have this field marked as required in the CP.
Also I don't know how relevant this is, but in the form this value is being filled by a select element.