This project is not covered by Drupal’s security advisory policy.

Updates Drupal Core's AJAX API to fix some minor issues.

  • Allows selective exclusion of ajax_html_ids in AJAXified forms.

I created this module to fix an issue with drupal_html_ids in AJAXified forms. In Core, html ids are sent on every ajax request, and due to the functionality of drupal_html_ids, new ids are created for the response. This prevents AJAXified forms from having consistent naming that can be counted on. This module allows for selectively excluding the sending via AJAX of html ids for collision detection on:

  • All Forms
  • AJAXified Forms
  • Forms with the #ajax_html_id_exclude property set to true (the default behavior)

This shouldn't conflict with any other contrib modules or Core functionality, as this issue is either evaded or worked around in the specific modules. In addition, since ajax requests should generally not need to worry about ID collision within the form itself, excluding html ids from being sent should increase bandwidth and processing performance.

Project information

Releases