Hi,

Is there a way to display the field in the errormessage wich causes this error? Doesn't make much sense to show the user errormessages without telling them where exactly (in wich field) the error occurs... I have a Content Type with dozens of content_taxonomy fields, its quiet hard to identify the one with the wrong spelled tag...

Best Regards,
Sandro

Comments

feuillet’s picture

*push*

Any ideas how to accomplish that?

derhasi’s picture

Title: "New tags are not allowed" - Display in wich field/vocab the error occurs. » Display field name in autocomplete error messages
Component: Code » Autocomplete - Freetagging
Assigned: Unassigned » derhasi
Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.88 KB
new1.88 KB

I attached a patch to solve this problem. It adds the field name to the error message (the same way the module does for the 'more than @coiunt values' error).

capellic’s picture

Status: Needs review » Reviewed & tested by the community

Works great. The only thing I would change is the term "tags" for "values"