- FormLayoutFunction is a pure function that is applied to the FormObject to extract the layout.
- Various pieces of the layout can be extracted by either FormObject[…][key], which extracts the complete field, or FormObject[…][key,prop], where prop can be one of the following:
"Control" bare control of the field, e.g. InputForm "Label" unformatted label of the field "Help" help text associated with the field "Failure" message of the current failure, if applicable "Required" whether the field is required for submission "Hint" hint text, usually associated with the FieldHint option "Masked" whether to mask the field (see FieldMasked) "Hidden" whether a field should be hidden
- Other pieces of the layout are stored in the AppearanceRules and can be accessed by using FormObject[…][AppearanceRules,prop].
- AppearanceRules can contain arbitrary key-value pairs, but typical values of prop include:
"Title" None overall title for the form "Description" None description to include at the top of the form "RequiredFieldIndicator" None indicator 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
Wolfram Research (2014), FormLayoutFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/FormLayoutFunction.html.
Wolfram Language. 2014. "FormLayoutFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FormLayoutFunction.html.
Wolfram Language. (2014). FormLayoutFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormLayoutFunction.html