function setAlert(executionContext)
{
var formContext = executionContext.getFormContext();
// Access the field on the form
var field = fieldformContext.getAttribute("new_requesturgentflag").getText();
if(field == "Yes")
{
var alertStrings = {text: "Please contact your Supervisor immediately."};
var alertOptions = { height: 120, width: 260 };
//alert("Please contact your Supervisor immediately.");
}
}
Hey guys I am trying to find the problem with this code but could not find it . Could you guys help
requesturgentflag is an option set
I get this error
Web resource method does not exist: setAlert(executionContext)