RTDField (open)
Syntax
LOADLIB "mod::publisher/lib/webtools/formcomponents/rtd.whlib";
OBJECTTYPE RTDField
Constructor
Variables
- STRING ARRAY autocomplete (inherited from FormFieldBase)
- RECORD groupdataset (inherited from FormFieldBase)
Properties
- PROPERTY conditionname (inherited from FormFieldBase)
- PROPERTY dataset (inherited from FormFieldBase)
Dataset to put in the field <input> element (only when the field expands to a single input!)
- PROPERTY enabled (inherited from FormFieldBase)
Whether this field is enabled
- PROPERTY enabledcondition (inherited from FormFieldBase)
- PROPERTY formgroup (inherited from FormFieldBase)
- PROPERTY formorder (inherited from FormFieldBase)
- PROPERTY groupclasses (inherited from FormFieldBase)
- PROPERTY hidetitle (inherited from FormFieldBase)
Hide the title for this field
- PROPERTY htmltitle (inherited from FormFieldBase)
HTML Title of this field - if set, overrides title
- PROPERTY name (inherited from FormFieldBase)
Name of the field
- PROPERTY novalue (inherited from FormFieldBase)
- PROPERTY parent (inherited from FormFieldBase)
This field's parent field
- PROPERTY qname (inherited from FormFieldBase)
- PROPERTY required (inherited from FormFieldBase)
Whether this field is required
- PROPERTY requiredcondition (inherited from FormFieldBase)
- PROPERTY title (inherited from FormFieldBase)
Title of this field
- PROPERTY value
- PROPERTY visible (inherited from FormFieldBase)
Whether this field is visible
- PROPERTY visiblecondition (inherited from FormFieldBase)
Functions
- OBJECT FUNCTION CreateSubField(STRING type, STRING name, RECORD matchattributes) (inherited from FormFieldBase)
Create a subfield
- RECORD ARRAY FUNCTION EnrichWithFormattedResults(RECORD exportoptions, RECORD ARRAY inputvalues) (inherited from FormFieldBase)
- OBJECT ARRAY FUNCTION GetChildComponents() (inherited from FormFieldBase)
Get child components. Arrays need this to properly handle subfields
- STRING ARRAY FUNCTION GetComponentNames() (inherited from FormFieldBase)
- RECORD FUNCTION GetComposableData() (inherited from FormFieldBase)
Returns the data for PrepareFormDataForComposer and GetWittyResultdata (ie the fields as avaialble in mails)
- RECORD ARRAY FUNCTION GetExtraMergeFields(RECORD value) (inherited from FormFieldBase)
Returns extra merge fields for this field
- RECORD ARRAY FUNCTION GetOptions() (inherited from FormFieldBase)
- RECORD FUNCTION GetRenderTree() (inherited from FormFieldBase)
- RECORD ARRAY FUNCTION GetResultColumns(RECORD exportoptions)
- RECORD FUNCTION GetStorageValue() (inherited from FormFieldBase)
- BOOLEAN FUNCTION IsFrontendVisible() (inherited from FormFieldBase)
- BOOLEAN FUNCTION IsNowEnabled() (inherited from FormFieldBase)
- BOOLEAN FUNCTION IsNowRequired() (inherited from FormFieldBase)
Return true if this field is required, either statically or by its condition
- BOOLEAN FUNCTION IsNowSettable() (inherited from FormFieldBase)
Return true if this field is available for setting - its enabled and visible
- BOOLEAN FUNCTION IsNowVisible() (inherited from FormFieldBase)
- BOOLEAN FUNCTION IsPartOf(OBJECT comp) (inherited from FormFieldBase)
- BOOLEAN FUNCTION IsSet()
- MACRO PreInitComponent() (inherited from FormFieldBase)
- MACRO RenderField() (inherited from FormFieldBase)
Render the field into a group (RenderInGroup). Delegates individual rendering lines to RenderFieldLines
- MACRO RenderFieldContent() (inherited from FormFieldBase)
- MACRO RenderFieldLines() (inherited from FormFieldBase)
Render the .wh-form__fieldline lines
- MACRO RenderFieldSearchPreview(RECORD previewsettings, OBJECT context) (inherited from FormFieldBase)
- MACRO RenderIntoSubField() (inherited from FormFieldBase)
- RECORD FUNCTION RPC_InsertVideoByURL(STRING videourl)
- MACRO SetFromStorage(VARIANT value, RECORD ARRAY attachments) (inherited from FormFieldBase)
- MACRO UpdateFromJS(VARIANT jsdata)
- MACRO ValidateValue(OBJECT work) (inherited from FormFieldBase)
Validate the field, should return errors through AddErrorFor. Fields may override this for more complex checks, but should still invoke the base function