fix: #3636517 Confirm the contact form inline so submitting no longer shows an error

Submitting the Contact Us form replaced the form with a Twig RuntimeError. The form sits in a Canvas page and already submits without Ajax, but the default confirmation redirects to <front>, and inside a Canvas component that redirect is thrown while rendering.

Varbase Starter and Educare had the Ajax half of the same bug as well ("Oops, something went wrong").

Fix

  • recipe.yml: the Business Contact webform, already without Ajax, now confirms inline with "Thank you for contacting us. We will get back to you soon."

Tested

Tested 10 November 2026 on a fresh drush install of 1.0.x-dev on Drupal CMS 2 (Chromium, Playwright): a normal form POST, no "Oops" and no Twig error, the confirmation shows inline.

Found while testing installs with pt-pt, ar and fr as the default language; the bugs are language independent.

Follow-up to !97 (merged) on https://www.drupal.org/i/3636517

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading