Add "renderedForm" property to webform that returns the HTML

Created on 25 April 2024, 9 months ago
Updated 19 September 2024, 4 months ago

Problem/Motivation

I want to display webforms in a different application and want to obtain the form's frontend HTML via GraphQL.

(Porting the patch from https://github.com/duartegarin/graphql_webform/pull/23 to here)

Proposed resolution

Add a "renderedForm" property to GraphQL:

{
  webformById(webform_id: "contact") {
    title
    renderedForm
  }
}

API changes

New "renderedForm" property.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany cweiske

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024