Search Results for form

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

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

Takes 1 parameter, a formatting mask

 

Format$

Takes two parameters, a source value, and a formatting mask.

 

[_#] Format if not blank (Top Query)

Takes 1 parameter, a formatting mask

 

[#] Format (Top Query)

Takes 1 parameter, a formatting mask

 

HtmlForm

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

Format

Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld

 

[Footer] Raw HTML

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

 

FieldDef$

Takes a single parameter, in the format of TableName.FieldName#Deff where Deff is one of: Label, Attr, Note, or DevNote

 

Record Action

Record Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Record.

 

Table Action

Table Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Table.

 

[Raw] Raw HTML

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

 

[L] Lookup (Top Query)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

[Header] Raw HTML

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

 

[L] Lookup (DB Field Attribute)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

Greg%

Takes one parameter, a date of the form yyyy-mm-dd

 

Lookup$

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

 

[A] Copy Attached Value

Parameter must first specify only looking at Parents ( PARENT ) or only looking at Children ( CHILD ). The remainder of the parameter should be the table and field name you are after in the form of TableName.FieldName.

 

[+] Sum of Field of Attached Child Records

Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.

 

Time$

Takes one parameter, Source

 

HtmlButton

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

Plus8Decode$

Takes one parameter, Source

 

TextToHtml$

Takes one parameter, Source

 

HtmlErr

Takes one parameter, ErrMsg

 

Plus8Encode$

Takes one parameter, Source

 

HtmlHistory

Takes two parameters, Title, Path

 

Currency$

Takes one parameter, a numeric value

 

Cuid$

Has no params

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

Date$

Takes one parameter, a string containing a date

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

 

AmPm$

Takes one parameter

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

LongDate$

Takes one parameter, a Date value

 

JsonStream$

Used to manipulate a WorkQuery into a JSON type

 

NulStream$

Takes one parameter, bNoHeader

 

LTrimAny$

Takes two parameters, Source, Search

 

FileSize$

Takes one parameter, a value in number of bytes.

 

DateTime$

Takes one parameter, a string containing a date and time

 

Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, [ContentType], [extraHeader], [body], [rtnHeaders]

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Pivot

Takes two parameters, FieldBase, PivotField

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

NulStream

Takes two parameters, Data, bHasHeader

 

ListQueries

Takes no parameters

 

LoadRawFile

Takes one parameter, FilePath

 

NewRecords

Takes one parameter, QuantityToAdd

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

WithAll

Takes five parameters, FieldBase, Destination, Action, Source, IfLenFld

 

WithGroup

Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld

 

GetFieldDefs

Has no parameters.

 

Text

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

SSReference

A command to help build spreadsheets

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

TemplateName

Takes one parameter, Name

 

LoadTableFields

Takes one parameter, TableName

 

Raw

Takes one parameter, the contents of which are used for the HTTP Reply Body

 

HtmlSearchBox

Takes 6 parameters, Location, Mode, ActionPath, Name, Class, Prompt

 

HtmlUpload

Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText

 

HttpCookie

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

 

SkipCalls

Takes no parameters

 

Group

Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

Folders

Takes a single variable, the relative path to the directory from root of project

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

Files

Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld

 

HtmlDropdown

Takes 5 parameters, Location, Mode, Title, Element, Class

 

[Date] (Top Query)

Has no parameters

 

[Date] (DB Field Attribute)

Has no parameters.

 

 

[DatePicker]

No parameters, provides a user friendly date picker as the input field for a given Field.

 

[AccKey] Keyboard Accelorator Key

Takes one parameter which is the keyboard key which will be used as the Access Key for a given Database Table's field.

*Note: By default, each Field's Access Key will be initialized to the first character of the Field's Label.

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

 

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[Min]

Accepts a numeric value as a parameter.

 

[Score] 0.0 to 10

Accepts 3 parameters, first is required, 2nd and 3rd are optional.

 

 

[!] Limited Selection List

Parameter is a comma separated list (without quotes) of the options made available to the user and enforced on save. 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 it is unchecked the value will be blank, and if it is checked the value will be "y". When used with a Top Query in MOX, this will ensure the field value matches one of the options, if not it will throw a run time error.

 

[Markdown]

Has no parameters.

 

 

Learn More About the Content Management System

Prerequisites: This tutorial assumes that you have already set up your Moxie.Build server and logged in. This page covers some of the basics that are involved in using the Content Management aspects of the Moxie.Build system.

 

 

Home

Web Portals & Databases

 

 

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.

 

Syntax and Builtin Values, Procedures and Code Documentation

The MOX language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.

 

Terms of Service

This is our current Terms of Service, last updated 2016-01-12.

 

 

Licensing

Moxie.Build, in short, may be used free of charge for education, development, or non-profit organizations. Whenever it is deployed by government or for-profit organizations to a production environment the license is granted on a subscription basis.

Moxie.Build includes a number of open source components as part of its distribution. These are subject to their own licenses as included with the files for those components.

 

Overview for PHP Developers

This hands-on experience article is written by an experienced PHP developer, and serves as an overview to help you understand the similarities and differences.

 

Privacy Policy

This is our current Privacy Policy, last updated 2016-01-12.

 

[State] Error State

Takes one parameter.

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

IncrKillCount

Has one parameter.

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

Foreign

Takes a single parameter, a QueryName

 

ForeignWith

Takes a single parameter, a FieldBase

 

Function

A special type of Private Method, called a Private Function, is intended to return a single value or multiple values simultaneously.

 

Try / Catch / Finally / End Try

A traditional way to check for hard errors and enable those errors to error softly.

 

[_$] Currency if not blank (Top Query)

Has no parameters. If the field is blank it will remain blank.

 

[$] Currency (Top Query)

Takes one parameter, Source

 

Return

Takes a variable number of parameters.

 

ServerLog

Takes one parameter, ServerLogText

 

SetKillCount

Takes one parameter, Value

 

Record Report

Record Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

Remote Method

A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.

 

Table Report

Table Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

[Time] (DB Field Attribute)

Has no parameters.

 

 

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.

 

FailIfRecError

Has no parameters

 

File

Takes 3 parameters, Destination, Action, Source

 

Folder

Takes two parameters, FolderPath, Action

 

Soapbox Studios

Effective Websites. Downtown Quality, Small Town Affordability.

 

AjaxReply

Has no parameters

 

[Ensure] Field Exists

Takes a variable number of parameters, a comma separated list of TopQuery variable names