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.
* create a link field, only url, no title
* go to node entry form
* enter some evil stuff like "::::////"
* message is shown: "Not a valid URL."
expected, but NOT happening:
* field is shown in red and has "error" css class
this is really a problem when there are more than one link fields in one form so daring to rise prio.
Comments
Comment #1
geek-merlinsome debugging suggests that
* form_set_error() gets called correctly with key "field_mylinkfield][und][0][url"
* but this is not reflected in css
Comment #2
mikefyfer CreditAttribution: mikefyfer commentedI'm also seeing this issue.