Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Contact ajax

Security covered Maintenance fixes only 1,022 sites

Part of the Contact ecosystem · 27 projects

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!

Drupal 11 · not 10

Ask your assistant about Contact ajax

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
12
Tracked since
Aug 2024
Latest release
2 weeks ago
Releases (12 mo)
10 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-2.0 Stable 9–11 Aug 16, 2024
8.x-2.x-dev Dev 8–9 Aug 16, 2024