title: how to hide a checkbox value in cshtml file - mvc html
body: <p>I have a code </p>
  
  <pre><code>@if (Model.Subscribed)
  { 
  &lt;div&gt;
  @Html.CheckBox("Subscribed", false) I would like to unsubscribe! 
  &lt;/div&gt;
  }
  else
  { 
  &lt;input type="hidden" name=Subscribed" value="true" /&gt;
  }
  </code></pre>
  
  <p>I want to hide the whole sentence after checkbox is checked. It is hidden the first time when submit is hit but once when  back to form page the checkbox sentence is back with unmarked checkbox.</p>
  
  <p>Can any one help me. </p>
  
  <p>Thanks in advance</p>