The YAML form module should ships with ability to copy starter templates. Currently, there are only a few templates available. The YAML form should include a dozen or so starter starter templates.

Proposed resolution

Encourage the Drupal community to start contributing templates back to the YAML Form module


Starter templates should be...

  • Generic but focused on a single use case
  • Easy to customize
  • Easy to delete elements and containers


  • Templates should be uploaded to a dedicated tickets
  • Templates should be reviewed by community
  • Templates can be continually updated.


  • Define standards and guidelines for starter templates

Possible Starter Template

  • Registration
  • Employment Application
  • Employee Evaluation
  • Employee Satisfaction Survey
  • Event Satisfaction Survey
  • Education Application
  • Event Registration
  • Contact Information
  • Issue Tracking
  • Order Form
  • Time Sheet
Members fund testing for the Drupal project. Drupal Association Learn more


jrockowitz created an issue. See original summary.

  • jrockowitz committed d0ba1e7 on 2787117-more-starter-template
    Issue #2787117: [meta] Add more starter templates to the YAML form...

  • jrockowitz committed 2f64618 on 2787117-more-starter-template
    Issue #2787117: [meta] Add more starter templates to the YAML form...
jrockowitz’s picture

Status: Active » Needs review
38.52 KB

Status: Needs review » Needs work

The last submitted patch, 4: meta_add_more_starter-2787117-3.patch, failed testing.

  • jrockowitz committed 5a22df3 on 2787117-more-starter-template
    Issue #2787117: [meta] Add more starter templates to the YAML form...
jrockowitz’s picture

Status: Needs work » Needs review
38.55 KB

  • jrockowitz committed ba1ca1c on 8.x-1.x
    Issue #2787117 by jrockowitz: [meta] Add more starter templates to the...
jrockowitz’s picture

Status: Needs review » Fixed
lomale’s picture

Hi can you tell me, how you expect the starter template.
Now I have one - but i have to rebuild it as a general universal variant. I mean I have to adapt the terms.

but then should I post it as Source YAML code ??

and could i get help to shape the display email submission answer to the registrant.
or is the email handler data not included in the template ??

Thanks for your answer

jrockowitz’s picture

Status: Fixed » Needs work
  • Look at the existing templates and make sure that the new template is not a duplicate.
  • Also, make sure the new template's element labels, description, and confirmations are generic.
  • Template's form ID should begin with 'template_'.
  • Create a new ticket titled something like "Add {type of } template"
  • Export the template (
  • Either upload the exported template and/or provide a patch with the new template.

Also, you might want to consider improving an existing template.

kclarkson’s picture


Here is a blog post by Four Kitchens regarding using YAML Form as an event registration system.

I am also looking to do the same thing. In the blog post they mention there is no current way to have a "default" form for an event content type but then be able to customize that one form if need be.

Would this be some sort of template that is needed?

They mentioned in their blog post that they were able to get it working with some custom code and am curious if you have an idea of how it was accomplished.

Thanks again

jrockowitz’s picture

Four Kitchens seems to be looking for a form to 'inherit' the elements and settings from a parent form.

Templates are copies of a form with no reference or relationship to the original form.

jrockowitz’s picture

Status: Needs work » Fixed

I am closing this since any updates to an existing template or the adding of a new template should be handle in a new ticket for each template.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.