Merging numbers into one field in YAML I'm trying to use a Webforms to create a team registration form, but I was thinking to automatically generate a participants ID number in the Webform based on certain fields in the form and based on user attributes.

The ID number is composed of 5 different fields.


A group code, this is independent on the form that is being submitted
A organization code, this is a multi-organization team registration, so each organization is given a specific code embedded into a participants ID number
Team code, each group of people (or team) is also given a specific code 
Person Code, each individual person is given a number so we can distinguish persons in a team.


All of these codes are already set on the form (either through the registering user's attributes) or via the form itself. The user will not have to enter any of these attributes.

I understand in Microsoft Excel that you can combine 4 different fields by the following

=A1&amp;&amp;A2&amp;&amp;A3&amp;&amp;A4

But is there something similar in YAML code for Webforms?

Thanks!
The Webform module for Drupal 8 supports a Computed Twig element which can be used to combine and calculate a dynamic value using Twig based on multiple elements.