Forum Discussion
179955
Apr 29, 2021Altostratus
It works as expected when configured as below. Setting timeout will make sure the decision box 1 is chosen automatically after 10 seconds.
function OnLoad()
{
setTimeout( function(){
SubmitResult(1);
}, 10000);
try{
if ( externalWebHost.hasWebLogonNotifyUser() ){
externalWebHost.WebLogonNotifyUser();
}
}catch(e){};
window.sessionTimeout = new APMSessionTimeout(sessionTimedOut);
}
function SubmitResult(choice)
{
var f = document.getElementById("hidden_form");
f.my_result.value = choice;
f.submit();
}
Regards,
Azhar
- boneyardApr 29, 2021MVP
thank you for sharing