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!
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Site structure
902 sites report using this module
- Created by ziomizar on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-2.x-dev updated 16 Aug 2024 at 08:24 UTC



