WebBrowser::ExecuteSubmitInstruction (open)
Executes a submit instruction
Syntax
LOADLIB "wh::internet/webbrowser.whlib";
BOOLEAN FUNCTION ExecuteSubmitInstruction(RECORD submitinstruction)
Parameters
RECORD submitinstruction
Submitinstruction Supported types: 'form' and 'redirect'.
RECORD form
Form data (only for type 'form')
STRING form.action
Form action URI
STRING form.method
Form method (allowed values: 'GET', 'POST')
RECORD ARRAY form.vars
Form variables to post
STRING form.vars.name
Name of the variable
STRING form.vars.value
Value of the variable
STRING type
Instruction type ('reload', 'redirect', 'form', 'postmessage', 'close')
STRING url
Redirect URL (only for type 'redirect')
Return value
BOOLEAN
Whether the redirect/form submit completed succesfully