Blog Archives

How to change the “required” attribute for view models in .net mvc

I was pulling my hair out one day wondering how I could make required attributes optional programmatically. I wanted to make a questionnaire form where different questions were presented to users but using the one viewmodel and ui page for

Tagged with: , , ,
Posted in Mad ramblings