FormField Class |
Namespace: CMS.FormEngine.Web.UI
public class FormField : PlaceHolder
The FormField type exposes the following members.
Name | Description | |
---|---|---|
CheckUnique |
If true, the field is checked for uniqueness. This property is only supported in UIForm.
| |
CssClass |
Field's CSS Class.
| |
DisplayColon |
Indicates if colon (:) should be displayed behind the field label.
If Form is set then Form.UseColonBehindLabel is used as default value, otherwise false.
| |
DisplayLabel |
Indicates if label should be displayed in inline layout. Default value is True.
| |
EditingControl |
Editing control.
| |
ErrorLabel |
Error label.
| |
Field |
Field name for the inner controls. This property is only supported in templated form.
| |
Form |
Form where the control is used.
| |
FormControl |
Form control.
| |
FormFieldInfo |
FormFieldInfo for current control.
| |
Label |
Field label.
| |
Layout |
Layout of the field.
| |
ResourceString |
Resource string for the label.
| |
ShowRequiredMark |
Indicates if required mark (*) should be displayed behind the field label. False by default.
| |
Text |
Text for the label, has higher priority.
| |
ToolTipResourceString |
Name of a resource string used for tooltip.
| |
Trim |
If true, the value is trimmed. This property is only supported if used inside the form control.
| |
UseFFI |
Indicates if control should load properties from FormFieldInfo. Default TRUE.
| |
Value |
Value used for initialization as default value.
|
Name | Description | |
---|---|---|
CreateChildControls |
Creates the child controls.
(Overrides ControlCreateChildControls.) | |
EnsureControls |
Ensures the child controls of the control.
| |
EnsureInnerControls |
Ensures the additional inner controls.
| |
LoadErrorLabel |
Loads the field error label.
| |
LoadFormControl |
Loads the form control.
| |
LoadLabel |
Loads the field label.
|
Name | Description | |
---|---|---|
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |