TForm
Base class for forms on a web page containing
TFormField
instances.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TWebPageComponent |
Abstract base class for components within a web page that can be rendered to a THtmlElement .
|
3 | TDefaultWebPageComponent |
Base class for TWebPageComponent with a caption
|
4 | TForm |
Source
WebSite.Form.pas (39)
Description
Represents a container for fields on a web page that can posted at once by the user. IsSubmittedAndValid
can be used to check whether this specific form has been
posted by the user and to validate its input. Only when every TFormField
passes validation the form is considered to be valid. Descendant classes can override
Validate
to perform extra checks, possibly including checks that cover the values of multiple form fields at once.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TFormProblems | FProblems | |
Instance | private | TUri | FAction | |
Instance | private | THttpMethod | FMethod | |
Instance | private | TList<TWebPageComponent> | FSections | |
Instance | private | TBoolean | FShowFeedback | |
Instance | private | TBoolean | FAllowComment | |
Instance | protected | TFormCheckBoxField | IgnoreWarningsField | |
Instance | protected | TFormLongTextField | IgnoreWarningsCommentField | |
Instance | public | TList<TFormHiddenField> | HiddenFields | |
Instance | public | THtmlFormEncodingType | EncodingType |