[development] Inline form errors
Peter at attiks.com
Thu May 26 10:25:55 UTC 2011
32 3 288 61 17
32 497 44 44 77
From: development-bounces at drupal.org [mailto:development-bounces at drupal.org] On Behalf Of Steven Jones
Sent: donderdag 26 mei 2011 12:18 PM
Subject: [development] Inline form errors
We're building a site that has a form in a block in one of our sidebars. If the user enters incorrect values, the form validation happens correctly, and errors are flagged up. However the messages such as:
'The title field is required'
Appear in the main messages region, at the top of the page content, which is nowhere near our form on the page, which is in a sidebar. The fields in the form are highlighted, so the user can see that something is wrong with the input, but the messages are a mile away.
Is there any module or method for getting the validation messages for the current form in the location of the form itself, and out of the global messages? Or any effort to get something like this into core?
I'm happy to code something if I need to, just wondered if anyone had tackled this before?
ComputerMinds ltd - Perfect Drupal Websites
Phone : 024 7666 7277
Mobile : 07702 131 576
Twitter : darthsteven
More information about the development