AutoSubmitting

AutoSubmitting[spec]

represents an element of a form that automatically submits the whole form if it is entered.

Details

  • FormFunction[AutoSubmitting[formspec],] represents a form that is automatically submitted whenever any of the fields in formspec are entered.
  • FormFunction[{,"namei"->AutoSubmitting[rhsi],}] represents a form that is automatically submitted if the field with name namei is entered.
  • AutoSubmitting can also be used in FormObject, but only has an effect through FormFunction.

Examples

Basic Examples  (1)

Fields wrapped in AutoSubmitting submit the form as soon as you exit the field:

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

Exiting the first field submits the form, creating an error in the second field:

See Also

FormFunction  FormObject  ContinuousAction  AutoAction

Introduced in 2015
(10.2)