R
R
Roman2019-03-13 01:06:14
Drupal
Roman, 2019-03-13 01:06:14

Drupal 8, how to implement added fields in WebForm?

How to add fields using WebForm?
There is 1 input type text. Opposite it, you need to add two buttons +/-
When you click on the plus, a similar input is added, when the minus is removed, respectively.
Make a minimum of 1 field, and a maximum of 5 added fields.
Is it possible to do this via WebForm?
As an option, I have an idea in my head to make a condition that if the previous field is filled in, it automatically adds a new one. But then you have to add all 5 fields to the form. And if I do not know what the maximum number can be, then this is problematic

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question