How can I redirect to another page after the alert is displayed and the user clicked on ok?
Below is the code I used
var Admin = doc.getItemValueString("Admin");
var scriptCode = "alert('Email send to the admin: " + Admin + "')";
view.postScript(scriptCode);
When I try to use "context.redirectToHome()" then the alert did not work again. Any idea how I can go about these or any other messagebox function?