**Dynamic inputs are fields that don’t display unless you need them.**

Let’s say you have a document that requires you to list the names of the children and their dates of birth.

The number of children will dictate how many of these input fields you’ll need for your template.

For one child, you’ll need two fields (name and DOB); for two children, you’ll need four fields; for three, you’ll need six; and so forth.

It’s easy to set this up using Conditional fields to create dynamic inputs .

**1) To start, create a Single Select field for Number of Children.** The value of this field will be used to trigger one or more conditional statements, which will display data inputs in your template.

**2) Next, create a Conditional Input field for each piece of required data. You’ll need one for name and another for birthdate, in this case:**

**Child 1 Name:**

**Child 1 DOB:**

**Child 2 Name:**

**Child 2 DOB:**

Notice the logic in the Conditional hypothesis contains a “greater than” comparison operator.

By using “greater than” rather than “equal to,” you’ll include multiple input fields. If you use “equal to,” then only one statement can evaluate as true, and to display multiple input fields, you need multiple statements to evaluate as true.

IF the number of children is greater than 0, THEN ask for Child 1 Name.

IF the number of children is greater than 0, THEN ask for Child 1 DOB.

IF the number of children is greater than 1, THEN ask for Child 2 Name.

IF the number of children is greater than 1, THEN ask for Child 2 DOB.

When the number of Children is equal to 2, all four statement evaluate as true, displaying four input fields.

First time using this logic?

Use Reuse Fields to **copy the fields from the sample template below and paste them into any of your documents or templates**.

Number of Children Simple View.docx (23.0 KB)