Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

contact_ajax

986 sites Security covered
View on drupal.org

Contact Ajax implements ajax submission for core Contact form in Drupal 8.

How it works

After enable the module, each contact form will show a checkbox "Use ajax".
When this chebox is enabled the contact form will show you another option "On submit load" with these options:

  • Default message
  • Node content
  • Custom message
  • Empty form

This module could help you if:

- you need to customize the confirmation message
- you need to submit a contact form without reload the page.
- you want load a custom text or another node after form submission.

Advanced settings:

- customize the wrapper id where the form is rendered.
- select a different container (different from the wrapper id) to render the ajax response.

Suggested modules

- contact_storage (https://www.drupal.org/project/contact_storage)
- honeypot (https://www.drupal.org/project/honeypot)

Features request, bug report and suggestions are welcome!

Activity

Total releases
1
First release
Apr 2026
Latest release
1 month ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
8.x-2.1 Stable Apr 23, 2026