• DIVYANSHU BHUSHAN
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 3
    Replies
I need to show warning message when user close[X] the flow. It is working fine, but it is also showing warning message when click on the pause button and next button. This should not be happening.
 Here is my code :-
<apex:page standardController="Contact" extensions="ContactIntakeFlowController">
    <script type="text/javascript">
     window.onbeforeunload = function() {
       
        return "Did you save your stuff?"
      }
    </script>

<flow:interview name="ClientIntakeFlow_FROM_CONTACT" allowShowPause="true" finishLocation="{!PageA}" pausedInterviewId="{!pausedId}" rendered="{!displayBoolean}">
<apex:param name="ClientIdVar" value="{!Contact.Id}"/> </flow:interview>
    
</apex:page>

Thanks in advance :)

please tell me about Encrypted Fields in brief? thanks in advanced.?