Search Results for form

 

[#] Format (Top Query)

Takes 1 parameter, a formatting mask

 

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

Takes 1 parameter, a formatting mask

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

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

Takes 1 parameter, a formatting mask

 

Format$

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

 

Format

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

 

HtmlForm

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

 

[Footer] Raw HTML

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

 

Help with Markdown

Markdown enables simple formatting of plain text via easy to remember conventions. This page will provide you with some pointers on what formatting options are available with "Moxie Flavored Markdown".

 

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.

 

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.

 

[Raw] Raw HTML

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

 

[Header] Raw HTML

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

 

[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.

 

Lookup$

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

 

Greg%

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

 

HtmlUpload

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

 

HtmlSearchBox

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

 

HttpCookie

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

 

Greg$

Takes one parameter, a gregorian number

 

Http$

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

 

Json$

Has two parameters: Source, Name

 

Guid$

Takes no parameters

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

HtmlHistory

Takes two parameters, Title, Path

 

Raw

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

 

FileSize$

Takes one parameter, a value in number of bytes.

 

LoadTableFields

Takes one parameter, TableName

 

NewTableField

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

 

FieldDef$

Takes one parameter, FieldName

 

NewTableProc

Takes nine parameters, TableName, ProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

GeoDistance$

Takes five parameters, Lat1, Long1, Lat2, Long2, Options

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

TemplateName

Takes one parameter, Name

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

TemplateType

Takes one parameter, Type

 

HtmlErr

Takes one parameter, ErrMsg

 

RecoverHtml$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

RawStream$

Takes one parameter, a top query destination variable

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

TabStream$

Takes one parameter, bNoHeaders

 

RecoverTmpl$

Takes one parameter, EscapedTemplate, and returns the Unescaped Version of this string

 

LongDate$

Takes one parameter, a Date value

 

LTrimAny$

Takes two parameters, Source, Search

 

NulStream$

Takes one parameter, bNoHeader

 

Plus8Encode$

Takes one parameter, Source

 

Plus8Decode$

Takes one parameter, Source

 

TextToHtml$

Takes one parameter, Source

 

UrlEncode$

Takes one parameter, Source

 

TimeZone$

Takes two parameters, Source, Value

 

ValidDate$

Takes one parameter, a Source value.

 

HtmlButton

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

 

WebSafe$

Takes one parameter, Source

 

JsonStream$

Has one parameter, Options

 

Time$

Takes one parameter, Source

 

JsonEncode$

Has two parameters: Source, Options

 

TimeSub$

Takes two parameters, Source, Value

 

TimeAdd$

Takes two parameters, Source, Value

 

NewTableRltn

Takes seven parameters, TableName, OtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

NulStream

Takes two parameters, Data, bHasHeader

 

NewRecords

Takes one parameter, QuantityToAdd

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Pivot

Takes two parameters, FieldBase, PivotField

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

SetIfAll

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

HtmlDropdown

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

 

GetFieldDefs

Has no parameters.

 

HtmlNav

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

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlNavbar

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

 

WithGroup

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

 

TabStreamWS

Takes two parameters, CSVData, bNoHeaders

 

SSReference

A command to help build spreadsheets

 

Text

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

 

WithAll

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

 

Time

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

 

MergeRecords

Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks

 

Files

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

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

Folders

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

 

Group

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

 

Geo

Takes nine parameters, FieldBase, Destination, Function, Source1, Source2, Source3, Source4, Options, IfLenFld

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

SkipCalls

Takes no parameters

 

Session

Takes two parameters, Name, Value

 

UpdateTableField

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

 

UpdateTableRltn

Takes eight parameters, TableName, OldOtherTableName, NewOtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

UpdateTableProc

Takes ten parameters, TableName, OldProcName, NewProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

Images

Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField

 

LoadPipeFileWS

Takes two parameters, FileName, bHasHeader

 

LoadMultipart

Takes two parameters, Data, Boundary

 

LoadRawFile

Takes one parameter, FilePath

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadReqFile

Has no parameters

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

JsonEmbed

Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

ListQueries

Takes no parameters

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize, bShowAccessed

 

[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.

 

[Min]

Accepts a numeric value as a parameter.

 

[State] Error State

Takes one parameter.

 

 

[Time] (DB Field Attribute)

Has no parameters.

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

[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.

 

[!] Limited Selection List (DB Field Attribute)

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.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[Markdown]

Has no parameters.

 

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.

 

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.

 

Soapbox Studios

Effective Websites. Downtown Quality, Small Town Affordability.

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

AjaxReply

Has no parameters

 

Folder and File Structure

Brief overview on the file structure and contents under Moxie. The files and folders discussed in this post are those that are essential when upgrading to the most recent version of Moxie.Build , or when troubleshooting server errors.

 

Export and Import of Database Schema

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

 

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.

 

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.

 

PaaS Method

A PaaS Method may be called by any other Moxie system. In order to call a PaaS Method from MOX, the PaaS statement is used.

 

 

Learn More About the Content Management System

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

 

Licensing

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

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

 

MOX Coding and Programing Language Syntax Documentation

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

 

Privacy Policy

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

 

Get Started with Setting up the Development Environment

Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.

 

Get Started with Service Setup on a Server

A single Windows OS can host many instances of Moxie.Build, these steps will guide you through the setup process.

 

 

 

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.

 

 

[Date] (DB Field Attribute)

Has no parameters.

 

[DatePicker]

Takes no parameters

 

 

 

 

Terms of Service

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

 

[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, Event, DestinationID, Path

 

[$] Currency (Top Query)

Takes one parameter, Source

 

[CountIf]

Takes one parameter, TestCondition

 

[Date] (Top Query)

Has no parameters

 

[If] Assignment (Top Query)

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.

 

 

Moxie.http Headers

The optional Moxie.http file is read on server start and controls the default HTTP headers set for all requests.

 

Moxie.cfg Config

The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.

 

Nightly Management Utility

This utility program manages a server install with one or many Moxie.Build services running by taking care of nightly tasks via a scheduled task.

 

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

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

 

Setup Table

The Setup Table controls aspects that can be changed while the server is running, and is intended to contain both Moxie.Build specific values as well as application specific.

 

Ctid$

Has one parameter.

 

CsvStream$

Takes one parameter bNoHeaders and returns the result to an assigned variable

 

Currency$

Takes one parameter, a numeric value

 

DateTime$

Takes one parameter, a string containing a date and time

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

AmPm$

Takes one parameter

 

[L] Lookup (Top Query)

Takes one parameter.

 

AntiCsrf$

Has no params

 

CheckPw$

Takes two parameters, User and Password

 

CFApi$

Takes three parameters Method, URL, Body

 

Function

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

 

ForeignWith

Takes a single parameter, a FieldBase

 

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

Takes a variable number of conditional statements

 

IncrKillCount

Has one parameter.

 

Image

Has 4 parameters, Destination, Action, Source, Value

 

FailIfRecError

Has no parameters

 

[Ensure] Field Exists

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

 

File

Takes three parameters, Destination, Action, Source

 

Foreign

Takes a single parameter, a QueryName

 

Folder

Takes three parameters, FolderPath, Action, Source

 

Try / Catch / Finally / End Try

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

 

SetKillCount

Takes one parameter, Value

 

Cloudflare Integration

Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services.

 

Cloudflared Tunnel

Cloudflared Tunnel exposes applications running on your local web server on any network with an internet connection with an outbound tunnel that connects directly to Cloudflare's edge network without the need to configure inbound firewall rules.

 

Cloudflare Origin Certificates

Cloudflare automatically provides free client-facing certificates for your domain, even if using their free service. In addition, they provide free Origin Certificates to encrypt the connection between Cloudflare and your origin Moxie.Build server. Use this article if you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.

 

OnError / End OnError

Takes one parameter, Control

 

Meta

Takes any unspecified data, intended for use by external systems

 

Return

Takes a variable number of parameters.

 

ServerLog

Takes one parameter, ServerLogText

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source