Forum Discussion
- 179955Altostratus
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
thank you for sharing
Hi Azhar,
if you can change it, you can change it here:
Access ›› Profiles / Policies : Customization : Advanced >> /Common/YourProfileName >> Access Policy >> Decision Pages >> Decision Box >> decision_box.inc
Probably you can do a pre-select there and add a timer. But I am not a developer, I just know the place not code.
Best of luck
Daniel