Overview
FormAttribute is used to decorate form classes, describing how to generate metadata for them. It controls various aspects of form behavior including labeling, auto-posting, and modal interaction.
Namespace
Inheritance
Properties
Unique identifier for the form. If not specified, the form’s fully qualified type name will be used.
Display label for the form. This is typically shown as the form’s title in the UI.
Indicates whether the form should be automatically submitted as soon as it has been loaded by the client. Useful for displaying reports or showing data without requiring user interaction.
Indicates whether the initial auto-post (when
PostOnLoad is true) should validate all input fields before submitting. Set to false to skip validation on the initial load.Controls how the form behaves when opened as a modal and the user submits it:
true: The modal automatically closes after receiving the responsefalse: The modal remains open after submission
Methods
GetCustomProperties
The type to which this attribute is applied.
null if there are none.