Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Contact ajax

926 sites Security covered Drupal 11 · not 10

Part of the Contact ecosystem · 19 projects

View on drupal.org

This module allows the core Contact form to be submitted without reloading the page using AJAX. It offers options to customize the confirmation message displayed after submission, including showing default messages, node content, custom text, or leaving the form empty. Advanced settings allow for customizing where the form and its response are rendered.

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!

Depends on

Dependencies of the latest stable release

  • contact Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Apr 2026
Latest release
1 day ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.2 Stable 11 Sep 11, 2026
3.0.1 Stable 11 Sep 11, 2026
3.0.0 Stable 11 Sep 10, 2026
8.x-1.6 Stable 8–9 Sep 10, 2026
8.x-2.1 Stable 9–11 Apr 23, 2026