I want to programmatically show/hide a group of fields (label, textfield, checkbox) on Razor view (.cshtml), based on a model value. The model is access to the view.
In your Razor View cshtml:
@if(Model.RevealSecretPlans) { Giant frikkin laser }
This of course assumes RevealSecretPlans is a boolean
RevealSecretPlans