Click or drag to resize

FormElementText Class

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Class representing af textbox formelement
Inheritance Hierarchy
SystemObject
  AnySenseService.Entities.API.PublicAPI.V1.DTOs.FormFormElement
    AnySenseService.Entities.API.PublicAPI.V1.DTOs.FormFormElementText

Namespace: AnySenseService.Entities.API.PublicAPI.V1.DTOs.Form
Assembly: AnySenseService.Entities.API.PublicAPI.V1 (in AnySenseService.Entities.API.PublicAPI.V1.dll) Version: 1.31.10+d671d89394079ff2411e503098d3578f08c2de86
Syntax
C#
public class FormElementText : FormElement, 
	IFormElementCanHaveDefaultValue<string>, IFormElementCanHaveExpression, IFormElementCanBeRequired, IFormElementCanBeReadonly, 
	IFormElementCanBeFocused, IFormElementCanBeRetained, IFormElementCanHaveDynamicVisibility

The FormElementText type exposes the following members.

Constructors
 NameDescription
Public methodFormElementTextInitializes a new instance of the FormElementText class
Top
Properties
 NameDescription
Public propertyContainerId Defines the parent container ID. Parents are typically of formelementtype 'Section', which is a toplevel formelement.
(Inherited from FormElement)
Public propertyDefaultValue 
Public propertyElementTypeId Specifies the given formelement type
(Inherited from FormElement)
Public propertyExpressionObsolete.
Defines a Regular Expression that a submitted value must match
(Inherited from FormElement)
Public propertyFocus Indicates if this element should have focus when the form is opened (or cleared).
Public propertyId The formelements unique identifier
(Inherited from FormElement)
Public propertyIdentifier Identity that is unique to this element, but is shared across different versions and copies of an app. Changes if element type is changed.
(Inherited from FormElement)
Public propertyInputRequiredObsolete.
If true, the field is required
(Inherited from FormElement)
Public propertyName Column / field name
(Inherited from FormElement)
Public propertyNameStyleObsolete.
Defines how the form element name should be displayed
(Inherited from FormElement)
Public propertyReadonly Determines whether the value in formelements can be edited during edit or only at create. If true, if values cannot be edited after the data is created.
Public propertyReadOnlyObsolete.
Determines whether the value in formelements can be edited during edit or only at create. If true, if values cannot be edited after the data is created. If the element is a FormElementLookupItem, then the user can never change the value.
(Inherited from FormElement)
Public propertyRegularExpression 
Public propertyRenewFocusObsolete.
Indicates if this element should have focus when the form is opened (or cleared).
(Inherited from FormElement)
Public propertyRequired If true, the field is required
Public propertyRetain If true, the input entered should be retained when the form is cleared
Public propertyRetainInputObsolete.
If true, the input entered the field will be retained
(Inherited from FormElement)
Public propertyVersionId Defines which formversion the element is added to
(Inherited from FormElement)
Public propertyVisibility Defines the visiblity
Public propertyVisibilityCondition Defines the condition that should be matched when visiblity is dynamically
Top
See Also