Wolfram Research

ListInputField

Contributed by: Jon McLoone

Source Notebook

Multiple input fields that update elements of the same list

ResourceFunction["ListInputField"][Dynamic[var], type, n]

represents n blank editable input fields of the specified type.

ResourceFunction["ListInputField"][Dynamic[var], type, n,m]

represents between n and m blank editable input fields of the specified type.

Examples

Basic Examples

Create three String InputFields that update the value of var:

In[1]:=
ResourceFunction["ListInputField"][Dynamic[var], String, 3]
Out[1]=
In[2]:=
Dynamic[var]
Out[2]=

Create between three and six String InputFields that update the value of x:

In[3]:=
ResourceFunction["ListInputField"][Dynamic[x], String, 3, 6]
Out[3]=

Options

All InputField options are supported:

In[4]:=
ResourceFunction["ListInputField"][Dynamic[test], String, 3, 6, FieldHint -> "Enter value"]
Out[4]=

Resource History