OpenFormFileResults (open)

Open the result storage of a formdefinition WHFS file

Syntax

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

OBJECT FUNCTION OpenFormFileResults(OBJECT formfile, RECORD options)

Parameters

OBJECT formfile

File to open

RECORD options

Options

STRING formname

The name of the form to open the results for, defaults to webtoolform for webtool forms

BOOLEAN initcustomform

If this is a custom form, initialize the custom form object. Make sure this doesn't run code that can only run within a request context!

Return value

OBJECT

Form results, or DEFAULT OBJECT if the file does not contain a valid webtool form