MailResultsTask::RunFormTask (open)

Override RunFormTask with your task code. Throw exceptions if something fails and you want to be restarted, and use ResolveByRestart for a graceful continuation later

Syntax

LOADLIB "mod::publisher/lib/webtools/formhandlers/mailhandler.whlib";

MACRO RunFormTask(RECORD results)

Parameters

result

Form result

guid

GUID of the result

idfield
ipaddress

IP address of the user

ipcountrycode

Country code of the user from IP-based lookup

iscancel

TRUE if the submit type is 'cancel'

ischange

TRUE if the submit type is 'change'

languagecode

Language code

modified

Modification date

pagedata
response

Field values, as a packed record

setfields
status

Form status (either '', 'pending', 'final', 'cancelled')

submittype

Submit type (either 'new', 'cancel', 'confirm' or 'change')

url

Submission URL

useragent

User agent of the user

when

Original submission time

wrdguid