If the cardinality of the reference field is not set to unlimited, and the field is required too (so, the user must enter at least one reference) and you leave the field is blank, then the error message is only 'field is required.'. The label of the field is missing from the error message. If the cardinality is 2-10, then too.

Comments

zoltán balogh’s picture

Title: The label of the field is missing from the error message The label of the field is missing from the error message » The label of the field is missing from the error message

Title pasted twice.

zoltán balogh’s picture

Ooops, the first sentence: If the cardinality of the reference field IS SET to unlimited... Sorry.

bgano’s picture

Project: References » Drupal core
Version: 7.x-2.x-dev » 7.x-dev
Component: User interface » field system

This appears to be an issue with the core field system, unless I'm missing something.

ianthomas_uk’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
Related issues: +#2145483: Empty field title for multiple values text area field validation

There's a proposed patch for this on #2145483: Empty field title for multiple values text area field validation and this issue doesn't have much discussion, so even though that's a much newer issue I'm going to mark this as a duplicate of that.