Search Results for attribute

 

[Custom] HTML Field Attribute

Allows any extra HTML Attributes to be specified in the Control's HTML Tag

 

 

 

 

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

[If] Assignment (DB Field Attribute)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

 

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

[Date] (DB Field Attribute)

Has no parameters.

 

[Time] (DB Field Attribute)

Has no parameters.

 

[!] Limited Selection List

Parameter is a comma separated list (using CSV rules and not in quotes) of the options made available to the user which are enforced on save. To use different values than labels, for each comma separated pair, specify the value first inside of { } followed by the label.

If the Parameter is just the single word Checkbox, then instead of a drop down list with values, the user will be given a single checkbox: If the field is unchecked the value will be blank, and if it is checked the value will be "y".

When this attribute is used with a Top Query in MOX, it will ensure the field value matches one of the options; if not, it will throw a run time error.

 

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

[_#] Format if not blank (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

 

 

[D] Default Value

Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.

 

HtmlToText$

Takes a single parameter, Source

 

[WQRecCount]

Has no parameters

 

[WQResult]

Takes either one parameter, ResultValue, or no parameters

 

HttpSoap$

Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml

 

TimeAdd$

Takes two parameters, Source, Value

 

RawStream$

Takes one parameter, a top query destination variable

 

Lookup$

Takes one parameter, in the form of: Table|{Alias}|Field

 

[HtmlOutput]

Takes a variable number of parameters

 

[CountIf]

Takes one parameter, TestCondition

 

LangWith

Has one parameter, a Content.Lang prefix

 

[TQMessage]

Takes one parameter, Message, or no parameters

 

[WQMessage]

Takes one parameter, Message, or no parameters

 

[TQResult]

Takes either one parameter, ResultValue, or no parameters

 

[TQRecCount]

Has no parameters

 

TimeDif$

Takes two parameters, Source, Value

 

UpdateTableField

Takes seven parameters, TableName, OldFieldName, NewFieldName, Label, Note, Attr, DevNote

 

SkipCalls

Takes no parameters

 

ResetTableNextAlias

Takes one parameter, TableName

 

Time

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

HtmlTable

Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags

 

XmlStream

Takes one parameter, Data

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

TimeZone$

Takes two parameters, Source, Value

 

TimeSub$

Takes two parameters, Source, Value

 

ListFields

Takes one parameter, TableName

 

NewTableField

Takes six parameters, TableName, FieldName, Label, Note, Attr, DevNote

 

New

Takes two parameters, TableName, IfLenFld

 

ListRltns

Takes one parameter, TableName

 

[MText] Multiline Text Editor

Accepts one optional numeric value as a parameter

 

[Min]

Accepts a numeric value as a parameter.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[SearchFieldList]

Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List in the Admin interface.

 

[Score] 0.0 to 10

Accepts 3 parameters, first is required, 2nd and 3rd are optional. A trailing optional expression after an = sign may also assign a value on the same line.

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

 

[Max]

Accepts a numeric value as a parameter.

 

 

[DatePicker]

Takes no parameters

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

 

[Header] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, above the Field's location.

 

Learn More about Frontend Development

Prerequisites: This tutorial assumes that you have already set up a Category and Procedure if necessary. This page covers some of the basics that are involved in Front End development using the MOX language.

 

[Footer] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, below the Field's location.

 

 

[FieldList]

Parameter is a space separated list of field names to be displayed.

 

Message Handler

A Message Handler is only ever called by the Database on a Database Event. These Event Messages allow a Developer to intercept operations taking place on a per-record level and implement Event based business logic.

 

 

Export and Import of Database Schema

ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.

 

[State] Error State

Takes one parameter.

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.

 

[Temp] Field

Parameter is a single new field name or a space separated list of new field names.

 

AjaxReply

Has no parameters

 

FailIfRecError

Has no parameters