WebBrowser::ExecuteSubmitInstruction (open)
Executes a submit instruction
Syntax
LOADLIB "wh::internet/webbrowser.whlib";
BOOLEAN FUNCTION ExecuteSubmitInstruction(RECORD submitinstruction)Parameters
RECORD submitinstructionSubmitinstruction Supported types: 'form' and 'redirect'.
RECORD formForm data (only for type 'form')
STRING form.actionForm action URI
STRING form.methodForm method (allowed values: 'GET', 'POST')
RECORD ARRAY form.varsForm variables to post
STRING form.vars.nameName of the variable
STRING form.vars.valueValue of the variable
STRING typeInstruction type ('reload', 'redirect', 'form', 'postmessage', 'close')
STRING urlRedirect URL (only for type 'redirect')
Return value
BOOLEANWhether the redirect/form submit completed succesfully