Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A fork of https://www.drupal.org/project/ife
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
CONTENTS OF THIS FILE --------------------- * Introduction * Requirements * Installation * Configuration * FAQ * Maintainers INTRODUCTION ------------ IFE or Inline Form Errors allows you to place form submission error inline with the form elements. Three options are provided for setting your inline error behavior. You can configure the default behavior or override the behavior on a per form basis. REQUIREMENTS ------------ * Chaos tool suite (ctools) - https://www.drupal.org/project/ctools INSTALLATION ------------ Install as usual, https://www.drupal.org/node/895232 1. Copy the entire ife directory the Drupal modules directory. 2. To enable the module navigate to Administration > Modules (admin/modules), select IFE and Save. 3. (Required) To edit the IFE settings, navigate to Administration > Configuration > User Interface > Inline Form Errors. (admin/config/user-interface/ife) CONFIGURATION ------------- On the settings page (see step 3 above) you can configure which forms are enabled with inline form errors. In Drupal, every form has a unique ID. This ID must be used to target a form. You can enter a new form id at the bottom of the settings page. By default all the forms will have a general error message and general display setting. FAQ --- Q: How can I retrieve the unique form ID from a specific form? A: You can switch on the 'Show form_ids on form' option at the settings page. Only users with the permission 'administer inline form errors' will see an indication above all the forms with the unique form ID. Q: Which types of error behaviors are supported? A: IFE provides three 'display types' for the configured forms: 1. Leave the messages in place: this option will copy the error messages and place them inline. The original error messages set by Drupal will remain in place. 2. Show an alternative message: this option will replace the original messages with a generic error message such as 'Please correct all errors.'. This message can be set in the IFE configuration page. The original error messages are placed inline with the form elements. 3. Remove all messages: this option will remove all error messages and place them inline with the form element. MAINTAINERS ----------- Current maintainers: * Ra Mänd (ram4nd) - https://www.drupal.org/u/ram4nd * Stijn De Meyere (stijndm) - https://www.drupal.org/u/stijndm This project has been sponsored by: * Development is sponsored by nascom.be and villaviscom.be