AppearanceRules

AppearanceRules
is an option for form and page generation functions that specifies the overall appearance of the generated object.

DetailsDetails

  • The setting for AppearanceRules can be an association or a list of rules.
  • Typical elements in the setting for AppearanceRules include:
  • "Title"Noneoverall title for the form
    "Description"Nonedescription to include at the top of the form
    "RequiredFieldIndicator"Noneindicator to show required fields
    "SubmitLabel""Submit"text for the submit button
    "CancelLabel""Cancel"text for the cancel button
    "ItemLayout""Horizontal"layout for a single element
  • Possible values for "ItemLayout" are "Vertical", "Horizontal", and "Inline".

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Make a form with a title and description:

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

Lay out items vertically:

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

Lay out items inline:

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

Specify custom labels for the submit and cancel buttons:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)