%field placeholder returns field name instead of caption

bpolgar - April 1, 2009 - 02:01
Project:Validation API
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:cardina1
Status:patch (to be ported)
Description

It would be better if caption of the field could be returned in the error message instead of the name of the field for the %field placeholder (e.g. "City" instead of "field_city").
Or is it possible to get it somehow?

#1

cardina1 - April 6, 2009 - 18:07
Assigned to:Anonymous» cardina1
Status:active» patch (to be ported)

I also think about it. Here is a patch for this.

AttachmentSize
validation_api_element_title.patch 1.37 KB
 
 

Drupal is a registered trademark of Dries Buytaert.