AJAX Form Touch

Component ID

2697965

Component name

AJAX Form Touch

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Allows AJAX buttons to be activated on touch devices. This module was created originally when using the ASAF module to AJAXify forms on a site and realizing that all of the submit buttons were un-actionable on a touch device (they require an actual click).

This very tiny module adds a simple handler for the touchstart event that activates the normal click handler for a button.

  • Drupal 7: Supported.
  • Drupal 8: Currently unsupported, unsure if this is needed anymore.