Search Results for form

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

Format$

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

 

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

Takes 1 parameter, a formatting mask

 

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

Takes 1 parameter, a formatting mask

 

[#] Format (Top Query)

Takes 1 parameter, a formatting mask

 

Format

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

 

HtmlForm

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

 

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

 

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.

 

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

 

Lookup$

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

 

Download Moxie.Build

Download Free Download of Moxie.Build Delivered as a simple .zip file, so that you can set it up however you like. This approach allows you to custom install many services on one server ,
or just run it as an app without an install. Licensing information and agreement . Upgrade Notes

In order to Upgrade an existing copy of Moxie.Build V4 or V5 to the most recent version of V5, you can use the Upgrade example files found in the Tools folder to help automate upgrading multi-service systems, or you can just replace the following files/folders: Moxie.exe Moxie.dll Default.dll /DBStore/BuiltIn.* /Lib /Public/BuiltIn /Templates/Admin /Templates/Clean /Templates/Default /Templates/Default5 /Templates/Report

 

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

 

Home

Web/API Development Platform with an in-memory database, native-code CMS, and a powerful runtime environment Whether you are a new startup taking off or optimizing your business model for growth, Moxie.Build provides a robust platform with a proven track record for marketplaces, eCommerce, and business process automation

 

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

 

Greg%

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

 

WebSafe$

Takes one parameter, Source

 

ValidDate$

Takes one parameter, a Source value.

 

HtmlSearchBox

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

 

TemplateName

Takes one parameter, Name

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

TimeZone$

Takes two parameters, Source, Value

 

UrlEncode$

Takes one parameter, Source

 

TemplateType

Takes one parameter, Type

 

HtmlHistory

Takes two parameters, Title, Path

 

HtmlErr

Takes one parameter, ErrMsg

 

HtmlUpload

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

 

HttpCookie

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

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

HtmlButton

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

 

Raw

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

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

TimeSub$

Takes two parameters, Source, Value

 

Json$

Has two parameters: Source, Name

 

Http$

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

 

Guid$

Takes no parameters

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

JsonStream$

Has one parameter, Options

 

JsonEncode$

Has two parameters: Source, Options

 

FieldDef$

Takes one parameter, FieldName

 

DateTime$

Takes one parameter, a string containing a date and time

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

Greg$

Takes one parameter, a gregorian number

 

GeoDistance$

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

 

FileSize$

Takes one parameter, a value in number of bytes.

 

TabStream$

Takes one parameter, bNoHeaders

 

RecoverTmpl$

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

 

RecoverHtml$

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

 

TimeAdd$

Takes two parameters, Source, Value

 

Time$

Takes one parameter, Source

 

TextToHtml$

Takes one parameter, Source

 

NulStream$

Takes one parameter, bNoHeader

 

LTrimAny$

Takes two parameters, Source, Search

 

LongDate$

Takes one parameter, a Date value

 

RawStream$

Takes one parameter, a top query destination variable

 

Plus8Encode$

Takes one parameter, Source

 

Plus8Decode$

Takes one parameter, Source

 

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

 

UpdateTableProc

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

 

UpdateTableField

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

 

UpdateTableRltn

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

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

SkipCalls

Takes no parameters

 

NewTableField

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

 

LoadTableFields

Takes one parameter, TableName

 

NewTableProc

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

 

Session

Takes two parameters, Name, Value

 

NewTableRltn

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

 

Files

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

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

ListQueries

Takes no parameters

 

LoadPipeFileWS

Takes two parameters, FileName, bHasHeader

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadRawFile

Takes one parameter, FilePath

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

Geo

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

 

Folders

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

 

Group

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

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

JsonEmbed

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

 

Currency$

Takes one parameter, a numeric value

 

[Min]

Accepts a numeric value as a parameter.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[State] Error State

Takes one parameter.

 

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

 

[Markdown]

Has no parameters.

 

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

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

[Time] (DB Field Attribute)

Has no parameters.

 

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.

 

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.

 

Soapbox Studios

Effective Websites. Downtown Quality, Small Town Affordability.

 

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.

 

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.

 

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.

 

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.

 

 

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.

 

Privacy Policy

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

 

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.

 

 

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.

 

 

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.

 

 

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

 

[Ajax]

Takes 3 parameters, Event, DestinationID, Path

 

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

 

[_$] 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.

 

[$] Currency (Top Query)

Takes one parameter, Source

 

[CountIf]

Takes one parameter, TestCondition

 

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.

 

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.

 

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.

 

[Date] (Top Query)

Has no parameters

 

CheckPw$

Takes two parameters, User and Password

 

CFApi$

Takes three parameters Method, URL, Body

 

Ctid$

Has one parameter.

 

CsvStream$

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

 

AntiCsrf$

Has no params

 

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

 

 

AmPm$

Takes one parameter

 

[L] Lookup (Top Query)

Takes one parameter.

 

Foreign

Takes a single parameter, a QueryName

 

Folder

Takes two parameters, FolderPath, Action

 

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

 

File

Takes 3 parameters, Destination, Action, Source

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

AjaxReply

Has no parameters

 

FailIfRecError

Has no parameters

 

[Ensure] Field Exists

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

 

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

Takes a variable number of conditional statements

 

SetKillCount

Takes one parameter, Value

 

ServerLog

Takes one parameter, ServerLogText

 

Cloudflare Integration

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

 

Try / Catch / Finally / End Try

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

 

Select / Case / End Select

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

 

Meta

Takes any unspecified data, intended for use by external systems

 

IncrKillCount

Has one parameter.

 

Return

Takes a variable number of parameters.

 

OnError (Continue)

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