Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Sawascwoolf on
Hi there,
I`m developing a validation where I have to check all files of an unlimited files field for duplicates.
Therefore I need to highlight the files which are causing the error.
I've tried several posibilities but I can`t find the solution for this.
form_set_error("field_csv][und][$key","custom error message in german ;)");
How can I achieve that specific files are highlighted?