What to do on error?
What to do on error?
Sorry for asking two questions simultaneously, I prefer to do this so that the subject reflects the question for easy search by other users. I'd like to ask what to do for my script on error? For example currently I have this code on load:
if (input.Proposal_ID != "")
{
pp = Proposals [MyId == input.Proposal_ID];
input.Title_Eval = "Title: " + pp.Title_Prop;
}
Thing is, I'd like to add "else ..." but realised that I have no idea what to do. I'd like the form to not load at all, or perhaps redirect to some other page. Possible? Thanks.