How can I set bool to true in Model with radio input?
I may be doing this in an unconventional way as I am still learning, but I basically have this in my model
and I have a view based on that model that I would like to have a radio input tag that if checked will make myBool into true when the model object is submitted in the form. Something like:
It doesn't have to be done this way but I would prefer it in this way.
and I have a view based on that model that I would like to have a radio input tag that if checked will make myBool into true when the model object is submitted in the form. Something like:
It doesn't have to be done this way but I would prefer it in this way.
