Follow-up to #2809971: composable forms and Getting NYU onto YAML Form

Problem/Motivation

Site builders like be able to 'extend' a base form or combine multiple forms into a composite form.

Proposed resolution

Provide mechanism to build composite and/or base forms

Remaining tasks

User interface changes

API changes

Data model changes

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Right now, writing a custom composite element is best way to get a group of reusable elements.

Below are the two plugins and templates used to implement an Address element.

http://cgit.drupalcode.org/yamlform/tree/src/Element/YamlFormAddress.php
http://cgit.drupalcode.org/yamlform/tree/src/Plugin/YamlFormElement/Yaml...
http://cgit.drupalcode.org/yamlform/tree/templates/yamlform-composite-ad...

fenstrat’s picture

Project: YAML Form » Webform
Version: 8.x-1.x-dev » 8.x-5.x-dev
anpolimus’s picture

Issue tags: +KyivCampCS17