PreCloseCard...?
Posted: Tue Oct 28, 2014 7:53 am
Hi Friends!
Is there some sort of way to process things when a user attempts to leave a card, such as a PreCloseCard handler that I can exit from without closing the card? I read in the Documentation that trapping the CloseCard message does not affect navigation.
Basically, I have a card that has a form on it. If the user leaves the card, but has not clicked the Submit button, I want to prompt them and ask whether they are sure they want to leave the card. If they do, proceed. If not, though, I want the card close behavior to break.
This is probably pretty obvious, but I wasn't able to turn anything up in the Documentation.
Thank ye!
Phil E.
Is there some sort of way to process things when a user attempts to leave a card, such as a PreCloseCard handler that I can exit from without closing the card? I read in the Documentation that trapping the CloseCard message does not affect navigation.
Basically, I have a card that has a form on it. If the user leaves the card, but has not clicked the Submit button, I want to prompt them and ask whether they are sure they want to leave the card. If they do, proceed. If not, though, I want the card close behavior to break.
This is probably pretty obvious, but I wasn't able to turn anything up in the Documentation.
Thank ye!
Phil E.