Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

FormControl

FormControl[assoc,struct]
represents an editable form in a notebook, with structure specified by struct and current values specified by assoc.

FormControl[Dynamic[x],struct]
represents a form in a notebook in which current values are given by the dynamically updated value of x.

DetailsDetails

  • The structure struct can be specified as in FormObject or can be a complete FormObject[] expression.
  • Values in the displayed form can be edited without affecting values in FormControl[]. The values in FormControl[] are updated only when the Submit button is clicked.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Dynamically update a variable using a FormControl:

In[1]:=
Click for copyable input
Out[1]=

Use the full FormObject specification for better control over the appearance of the FormControl:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2016
(11.0)