"Use Ajax" doesn't work on standalone page nor webform reference field

Created on 6 March 2025, about 2 months ago

Problem/Motivation

I tested this with 6.2.6. I can't get "Use Ajax" to prevent submission/redirect on a simple form.

Steps to reproduce

1. Enable default webform modules on simplytest.me
2. Create a webform on admin/structure/webform and configure it with a single radios element and configure settings to "Use Ajax"
3. Add a field to the "Basic page" content type that is a Webform reference
4. Create a basic page referring to the webform from step 2
5. Submit the webform on the basic page node and observe you are redirected to a standalone confirmation page at /node/1/webform/confirmation? (that is what I think is the bug, being redirected instead of staying on the page)
6. Similarly on /form/page-feedback the submission results in a full page refresh.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024