title: Hide button if not intended view in web - Lotus Notes
body: <p>I have asked about this question before this but no response. So I will try to ask again the question. I have this two buttons in form and I want to display those buttons in view. One button called "Close Active" and another one is "Close Draft".</p>
  
  <p>So for button "Close Active", I want to show the button only in view with document status of "Active" and "Lock" while for button "Close Draft", I want to show the button only in view with document status of "Draft". I try using hide-when but it did not display.</p>
  
  <p>For "Close Draft"</p>
  
  <pre><code>!(PStatus = "Draft")
  </code></pre>
  
  <p>For "Close Active"</p>
  
  <pre><code>(Pstatus != "Active" : "Lock")
  </code></pre>
  
  <p>I know how to hide-when this button in Lotus Notes, but I can't found any example of hide button for web. Any help I appreciated. Thanks!</p>