<div class="well well-sm">
@f.FormGroup().RadioButtonFor(m => m.PayCruiseEarlyAndInFull, "True").Label().LabelText("Save xx% ($xx.xx) off your cruise by paying for your cruise in full.")
@f.FormGroup().RadioButtonFor(m => m.PayCruiseEarlyAndInFull, "False").Label().LabelText("No, thank you.")
</div>
My view model has a [Required] field attribute. When there is a validation failure I am getting two sets of labels:
I only want the labels after the text. How do I achieve this?
Hi,
I am using the following for a radio group.
My view model has a [Required] field attribute. When there is a validation failure I am getting two sets of labels:
I only want the labels after the text. How do I achieve this?