Inline Form Errors Drupal 7 fixes

Component ID

1201504

Component name

Inline Form Errors Drupal 7 fixes

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is essentially a fork of Inline Form Errors (IFE) for Drupal 7, with the intention of developing a near-enough bug-free version ready for production sites running Drupal 7. Or something like that. This sandbox is intended for use by developers at ComputerMinds to work together on this, as a contribution to the real Inline Form Errors module - we don't really want to fork that module for own purposes! We'll probably build towards some patches that will be submitted to IFE's issue queue.

Instructions for getting IFE set up -

1. Enable the Inline Form Errors module
2. You will need to enable IFE for each form you want to use it with - at /admin/config/ife, add the relevant form_id(s) to the 'Form conversion' table at the bottom of the page (you can use the setting).

To get the form_id for a form, you can tick the 'Show form_ids on form' option on the IFE config page, save, and then visit the form you want to enable IFE on. If your user has the 'administer inline form errors' permission, the form_id will be printed out at the top of the form.

A quick example you can use for testing would be the user_profile_form - once you have done the above step to enable IFE on this form, go to edit your user's profile. Clear the username and email fields, and try to save the profile - you should see inline errors. Note that the current state of IFE means that these form elements lose their labels - this is something we will need to fix :-)