An often-desired piece of functionality - support printing a list of all form elements which had an error in the message at the top. Perhaps with a !titles token?

Patch to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamsilver’s picture

Assigned: jamsilver » Unassigned
Status: Needs work » Needs review
FileSize
4.61 KB
4.43 KB

Patch attached.

The first should apply directly to ife, the 2nd patch applies after applying the patch found here: http://drupal.org/files/ife-1826242-01.patch

jamsilver’s picture

One that works..

stijndm’s picture

Status: Needs review » Needs work

Hey jamsilver,

the patch failed against the latest development version. Could you try rerolling the path?

Thx!

jamsilver’s picture

Status: Needs work » Needs review
FileSize
4.67 KB

Re-rolled with a couple of tweaks against 2.0-alpha2.

james.williams’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.0-alpha2
FileSize
4.17 KB

This patch is exactly the same as in #4 above, but ensures that !titles is not shown in the resulting message, even if the titles themselves could not be determined.