OpenFormByTarget (open)

Open a webtool form by its formtarget (encrypted formid)

Syntax

LOADLIB "mod::publisher/lib/forms/api.whlib";

OBJECT FUNCTION OpenFormByTarget(STRING formtarget, RECORD options)

Parameters

STRING formtarget

Formref as returned by the form's GetFormTarget()

RECORD options

Options

BOOLEAN prepareforfrontend

Whether to invoke PrepareForFrontend on the opened form. Defaults to TRUE

Return value

OBJECT

Opened form