FormBase::StoreFormValue (open)

Store the current value of the form

Syntax

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

STRING FUNCTION StoreFormValue(RECORD options)

Parameters

RECORD options

Options

RECORD extradata

Additional data to pass to the submit handler

INTEGER formid

The id of the form file to store the results (defaults to current target)

STRING guid

The result guid, defaults to a random guid, can be used to overwrite an existing result

STRING idfieldvalue

The name of the field that should have a unique value across all form results

BOOLEAN isedit

If this is an edit of an existing result

BOOLEAN ispending

If this is a pending result that has to be confirmed before it's final

Return value

STRING

The guid used to store the result