Click or drag to resize
FormField Class
Form field control for the forms.
Inheritance Hierarchy

Namespace: CMS.FormControls
Assembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax
C#
public class FormField : PlaceHolder

The FormField type exposes the following members.

Constructors
  NameDescription
Public methodFormField
Top
Methods
  NameDescription
Protected methodCreateChildControls
Creates the child controls.
(Overrides ControlCreateChildControls.)
Public methodEnsureControls
Ensures the child controls of the control.
Protected methodEnsureInnerControls
Ensures the additional inner controls.
Protected methodLoadErrorLabel
Loads the field error label.
Protected methodLoadFormControl
Loads the form control.
Protected methodLoadLabel
Loads the field label.
Protected methodOnInit
Init event handler.
(Overrides ControlOnInit(EventArgs).)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyAutomaticValue
Automatic value when the form control is missing (resolves macros in the given string).
Public propertyCssClass
Field's CSS Class.
Public propertyDevelopmentModeOnly
If true, the field is visible only in development mode
Public propertyDisplayColon
Indicates if colon (:) should be displayed behind the field label. False by default.
Public propertyDisplayLabel
Indicates if label should be displayed in inline layout. Default value is True.
Public propertyEditingControl
Editing control.
Public propertyErrorLabel
Error label.
Public propertyField
Field name for the inner controls. This property is only supported in templated form.
Public propertyForm
Form where the control is used.
Public propertyFormControl
Form control.
Public propertyFormFieldInfo
FormFieldInfo for current control.
Public propertyHideOnLiveSite
If true, the field is hidden on the live site.
Public propertyCheckUnique
If true, the field is checked for uniqueness. This property is only supported in UIForm.
Public propertyLabel
Field label.
Public propertyLayout
Layout of the field.
Public propertyResourceString
Resource string for the label.
Public propertyShowRequiredMark
Indicates if required mark (*) should be displayed behind the field label. False by default.
Public propertyText
Text for the label, has higher priority.
Public propertyToolTipResourceString
Name of a resource string used for tooltip.
Public propertyTrim
If true, the value is trimmed. This property is only supported if used inside the form control.
Public propertyUseFFI
Indicates if control should load properties from FormFieldInfo. Default TRUE.
Public propertyValue
Value used for initialization as default value.
Top
See Also