The FieldRadioGroup is the parent component used to control a bunch of FieldRadio.
Error
Set the field in 'error' state.
If the FieldRadioGroup is used within an EditForm, an EditContext will be cascaded, and the Error and Validation will be manage automatically by the EditContext.
Type
Default Value
bool
false
This an error
<NVFieldRadioGroupLabel="Error" @bind-Value="model.Error"Error="@HasError"Validation="@ValidationMessage"><NVFieldRadioLabel="Error 1"Value="1"
/><NVFieldRadioLabel="Error 2"Value="2"
/><NVFieldRadioLabel="Error 3"Value="3"
/></NVFieldRadioGroup>
@code {
private bool _error;
public bool HasError {
get { return true; }
set { _error = value; }
}
private bool _success;
public bool HasSuccess {
get { return false; }
set { _success = value; }
}
private string _validationMessage;
public string ValidationMessage {
get {
if(HasError) {
return "this an error";
}
if(HasSuccess) {
return "this a success";
}
}
}
}
<divclass="nv-field-radio-group nv-field-error"><labelclass="nv-field-label">Error</label><divclass="nv-field-input"><divclass="nv-field-subfields"><divclass="nv-field nv-field-radio"><labelfor="hash-1"class="nv-field-label">Error 1</label><divclass="nv-field-input"><inputid="hash-1"name="Error"autocomplete="off"type="radio"value="1"checked></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-2"class="nv-field-label">Error 2</label><divclass="nv-field-input"><inputid="hash-2"name="Error"autocomplete="off"type="radio"value="2"></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-3"class="nv-field-label">Error 3</label><divclass="nv-field-input"><inputid="hash-3"name="Error"autocomplete="off"type="radio"value="3"></div></div></div></div><divclass="nv-field-message"><divclass="nv-field-validation">This an error</div></div></div>
<nv-fieldradiogrouperrorlabel="Error"validation="This an error"><nv-fieldradiovalue="1"label="Error 1"></nv-fieldradio><nv-fieldradiovalue="2"label="Error 2"></nv-fieldradio><nv-fieldradiovalue="3"label="Error 3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouperrorlabel="Error"validation="This an error"><NvFieldRadiovalue="1"label="Error 1"></NvFieldRadio><NvFieldRadiovalue="2"label="Error 2"></NvFieldRadio><NvFieldRadiovalue="3"label="Error 3"></NvFieldRadio></NvFieldRadioGroup>
ForOptionValue
Func used to get the string value of an item within the Options parameter. Need to be defined if you used the Options parameter.
Type
Default Value
Func<TValue?, string>?
null
<NVFieldRadioGroup
@bind-Value="model.OptionClass"Options="@_options"TValue="RadioOptionClass"ForOptionValue="@((item) => item!.Id)"ForOptionLabel="@((item) => item!.Label)"Label="OptionClass"
/>
@{
private static RadioOptionClass[] _options = new RadioOptionClass[]
{
new() {Id = "RadioOptionClass Id 1", Label = "RadioOptionClass Name 1"},
new() {Id = "RadioOptionClass Id 2", Label = "RadioOptionClass Name 2"},
new() {Id = "RadioOptionClass Id 3", Label = "RadioOptionClass Name 3"}
};
}
...
public class RadioOptionClass
{
public string Id { get; set; } = default!;
public string Label { get; set; } = default!;
}
<divclass="nv-field nv-field-radio-group" ><labelclass="nv-field-label"for="OptionClass">OptionClass</label><divclass="nv-field-input"><divclass="nv-field-subfields nv-stack nv-stack-vertical"><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-247afcff-7728-48f4-93b7-b11f58ee178f">RadioOptionClass Name 1</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-247afcff-7728-48f4-93b7-b11f58ee178f"name="OptionClass"value="RadioOptionClass Id 1"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980b2">RadioOptionClass Name 2</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980b2"name="OptionClass"value="RadioOptionClass Id 2"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b58dea01-935f-4773-915e-6d20927d39fb">RadioOptionClass Name 3</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b58dea01-935f-4773-915e-6d20927d39fb"name="OptionClass"value="RadioOptionClass Id 3"></div></div></div></div></div>
ForOptionLabel
Func used to get the string label of an item within the Options parameter. If not set, ForOptionValue Func will be used for the label of the option of the select.
Type
Default Value
Func<TValue?, string>?
null
<NVFieldRadioGroup
@bind-Value="model.OptionClass"Options="@_options"TValue="RadioOptionClass"ForOptionValue="@((item) => item!.Id)"ForOptionLabel="@((item) => item!.Label)"Label="OptionClass"
/>
@{
private static RadioOptionClass[] _options = new RadioOptionClass[]
{
new() {Id = "RadioOptionClass Id 1", Label = "RadioOptionClass Name 1"},
new() {Id = "RadioOptionClass Id 2", Label = "RadioOptionClass Name 2"},
new() {Id = "RadioOptionClass Id 3", Label = "RadioOptionClass Name 3"}
};
}
...
public class RadioOptionClass
{
public string Id { get; set; } = default!;
public string Label { get; set; } = default!;
}
<divclass="nv-field nv-field-radio-group" ><labelclass="nv-field-label"for="OptionClass">OptionClass</label><divclass="nv-field-input"><divclass="nv-field-subfields nv-stack nv-stack-vertical"><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-247afcff-7728-48f4-93b7-b11f58ee178z">RadioOptionClass Name 1</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-247afcff-7728-48f4-93b7-b11f58ee178z"name="OptionClass"value="RadioOptionClass Id 1"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980by">RadioOptionClass Name 2</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980by"name="OptionClass"value="RadioOptionClass Id 2"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b58dea01-935f-4773-915e-6d20927d39fx">RadioOptionClass Name 3</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b58dea01-935f-4773-915e-6d20927d39fx"name="OptionClass"value="RadioOptionClass Id 3"></div></div></div></div></div>
<NVFieldRadioGroup
@bind-Value="model.OptionClass"Options="@_options"TValue="RadioOptionClass"ForOptionValue="@((item) => item!.Id)"ForOptionLabel="@((item) => item!.Label)"Label="OptionClass"LabelBefore
/>
@{
private static RadioOptionClass[] _options = new RadioOptionClass[]
{
new() {Id = "RadioOptionClass Id 1", Label = "RadioOptionClass Name 1"},
new() {Id = "RadioOptionClass Id 2", Label = "RadioOptionClass Name 2"},
new() {Id = "RadioOptionClass Id 3", Label = "RadioOptionClass Name 3"}
};
}
...
public class RadioOptionClass
{
public string Id { get; set; } = default!;
public string Label { get; set; } = default!;
}
<divclass="nv-field nv-field-radio-group" ><labelclass="nv-field-label"for="OptionClass">OptionClass</label><divclass="nv-field-input"><divclass="nv-field-subfields nv-stack nv-stack-vertical"><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-247afcff-7728-48f4-93b7-b11f58ee178a">RadioOptionClass Name 1</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-247afcff-7728-48f4-93b7-b11f58ee178a"name="OptionClass"value="RadioOptionClass Id 1"></div></div><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb">RadioOptionClass Name 2</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb"name="OptionClass"value="RadioOptionClass Id 2"></div></div><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-b58dea01-935f-4773-915e-6d20927d39fc">RadioOptionClass Name 3</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-b58dea01-935f-4773-915e-6d20927d39fc"name="OptionClass"value="RadioOptionClass Id 3"></div></div></div></div></div>
<nv-fieldradiogrouplabel="OptionClass"labelbefore><nv-fieldradiovalue="1"label="RadioOptionClass Name 1"></nv-fieldradio><nv-fieldradiovalue="2"label="RadioOptionClass Name 2"></nv-fieldradio><nv-fieldradiovalue="3"label="RadioOptionClass Name 3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="OptionClass"labelBefore><NvFieldRadiovalue="1"label="RadioOptionClass Name 1"></NvFieldRadio><NvFieldRadiovalue="2"label="RadioOptionClass Name 2"></NvFieldRadio><NvFieldRadiovalue="3"label="RadioOptionClass Name 3"></NvFieldRadio></NvFieldRadioGroup>
LabelBeforeWidth
Type
Default Value
string
null
<NVFieldRadioGroup
@bind-Value="model.OptionClass"Options="@_options"TValue="RadioOptionClass"ForOptionValue="@((item) => item!.Id)"ForOptionLabel="@((item) => item!.Label)"Label="OptionClass"LabelBeforeLabelBeforeWidth="250px"
/>
@{
private static RadioOptionClass[] _options = new RadioOptionClass[]
{
new() {Id = "RadioOptionClass Id 1", Label = "RadioOptionClass Name 1"},
new() {Id = "RadioOptionClass Id 2", Label = "RadioOptionClass Name 2"},
new() {Id = "RadioOptionClass Id 3", Label = "RadioOptionClass Name 3"}
};
}
...
public class RadioOptionClass
{
public string Id { get; set; } = default!;
public string Label { get; set; } = default!;
}
<divclass="nv-field nv-field-radio-group" ><labelclass="nv-field-label"for="OptionClass">OptionClass</label><divclass="nv-field-input"><divclass="nv-field-subfields nv-stack nv-stack-vertical"><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-width-247afcff-7728-48f4-93b7-b11f58ee178a"style="width:250px">RadioOptionClass Name 1</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-width-247afcff-7728-48f4-93b7-b11f58ee178a"name="OptionClass"value="RadioOptionClass Id 1"></div></div><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-width-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb"style="width:250px">RadioOptionClass Name 2</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-width-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb"name="OptionClass"value="RadioOptionClass Id 2"></div></div><divclass="nv-field nv-field-radio nv-field-label-before"><labelclass="nv-field-label"for="label-before-width-b58dea01-935f-4773-915e-6d20927d39fc"style="width:250px">RadioOptionClass Name 3</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="label-before-width-b58dea01-935f-4773-915e-6d20927d39fc"name="OptionClass"value="RadioOptionClass Id 3"></div></div></div></div></div>
<nv-fieldradiogrouplabel="OptionClass"labelbeforelabelbeforewidth="250px"><nv-fieldradiovalue="1"label="RadioOptionClass Name 1"></nv-fieldradio><nv-fieldradiovalue="2"label="RadioOptionClass Name 2"></nv-fieldradio><nv-fieldradiovalue="3"label="RadioOptionClass Name 3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="OptionClass"labelBeforelabelBeforeWidth="250px"><NvFieldRadiovalue="1"label="RadioOptionClass Name 1"></NvFieldRadio><NvFieldRadiovalue="2"label="RadioOptionClass Name 2"></NvFieldRadio><NvFieldRadiovalue="3"label="RadioOptionClass Name 3"></NvFieldRadio></NvFieldRadioGroup>
Message
Message define a 'hint ' message for the Radio Field.
Type
Default Value
string
null
This is a hint message.
<NVFieldRadioGroupLabel="Message" @bind-Value="model.Label"Message="This is a hint message."><NVFieldRadioLabel="Label 1"Value="1"/><NVFieldRadioLabel="Label 2"Value="2"/><NVFieldRadioLabel="Label 3"Value="3"/></NVFieldRadioGroup>
<divclass="nv-field-radio-group"><labelclass="nv-field-label">Message</label><divclass="nv-field-input"><divclass="nv-field-subfields"><divclass="nv-field nv-field-radio"><labelfor="hash-message-1"class="nv-field-label">Message 1</label><divclass="nv-field-input"><inputid="hash-message-1"name="Message"autocomplete="off"type="radio"value="1"checked></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-message-2"class="nv-field-label">Message 2</label><divclass="nv-field-input"><inputid="hash-message-2"name="Message"autocomplete="off"type="radio"value="2"></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-message-3"class="nv-field-label">Message 3</label><divclass="nv-field-input"><inputid="hash-message-3"name="Message"autocomplete="off"type="radio"value="3"></div></div></div></div><divclass="nv-field-message"><div>
This is a hint message.
</div></div></div>
<nv-fieldradiogrouplabel="Message"value="1"message="This is a hint message."><nv-fieldradiovalue="1"label="Message 1"></nv-fieldradio><nv-fieldradiovalue="2"label="Message 2"></nv-fieldradio><nv-fieldradiovalue="3"label="Message 3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="Message"value="1"message="This is a hint message."><NvFieldRadiovalue="1"label="Message 1"></NvFieldRadio><NvFieldRadiovalue="2"label="Message 2"></NvFieldRadio><NvFieldRadiovalue="3"label="Message 3"></NvFieldRadio></NvFieldRadioGroup>
Name
Name defined the RadioInputGroup associated to the value when checked. If you do not pass a Name to the FieldRadio, the name will be provided by the FieldRadioContext provided by the FieldRadioGroup.
Type
Default Value
string
null
<EditFormModel="model"><DataAnnotationsValidator /><NVFieldRadioGroupLabel="FirstUniqueName" @bind-Value="model.FirstUniqueName">
// the Name will be provided by the FieldRadioContext cascaded by the FieldRadioGroup.
// Here from FieldIdentifier.FieldName -> FirstUniqueName
<NVFieldRadioLabel="First label"Value="1"/><NVFieldRadioLabel="Second label"Value="2"/><NVFieldRadioLabel="Third label"Value="3"/></NVFieldRadioGroup>
// the Name will be provided by the FieldRadioContext cascaded by the FieldRadioGroup.
// Here from Name -> MySecondUniqueName
<NVFieldRadioGroupName="MySecondUniqueName" @bind-Value="model.SecondUniqueName"MT="8"><NVFieldRadioLabel="First label"Value="1"/><NVFieldRadioLabel="Second label"Value="2"/><NVFieldRadioLabel="Third label"Value="3"/></NVFieldRadioGroup>
// the Name will be provided by the FieldRadioContext cascaded by the FieldRadioGroup.
// Here from _autoname -> an hash string computed on the instantiation of the component.
<NVFieldRadioGroup @bind-Value="model.ThirdUniqueName"MT="8"><NVFieldRadioLabel="First label"Value="1"/><NVFieldRadioLabel="Second label"Value="2"/><NVFieldRadioLabel="Third label"Value="3"/></NVFieldRadioGroup></EditForm>
<nv-fieldradiogrouplabel="FieldAfter"><divslot="after"><nv-textsize="xs"mt="2"color="blue"width="50%">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et ex
nunc.
</nv-text></div><nv-fieldradiolabel="option 1"value="1"></nv-fieldradio><nv-fieldradiolabel="option 2"value="2"></nv-fieldradio><nv-fieldradiolabel="option 3"value="3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="FieldAfter"><divslot="after"><NvTextsize={Size.XSMALL}mt="2"color="blue"width="50%"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et ex nunc. </NvText></div><NvFieldRadiolabel="option 1"value="1"></NvFieldRadio><NvFieldRadiolabel="option 2"value="2"></NvFieldRadio><NvFieldRadiolabel="option 3"value="3"></NvFieldRadio></NvFieldRadioGroup>
<nv-fieldradiogrouplabel="FieldBefore"><divslot="before"><nv-textsize="xs"mb="2"color="blue"width="50%"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et ex nunc. </nv-text></div><nv-fieldradiolabel="option 1"value="1"></nv-fieldradio><nv-fieldradiolabel="option 2"value="2"></nv-fieldradio><nv-fieldradiolabel="option 3"value="3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="FieldBefore"><divslot="before"><NvTextsize={Size.XSMALL}mb="2"color="blue"width="50%">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec et ex
nunc.
</NvText></div><NvFieldRadiolabel="option 1"value="1"></NvFieldRadio><NvFieldRadiolabel="option 2"value="2"></NvFieldRadio><NvFieldRadiolabel="option 3"value="3"></NvFieldRadio></NvFieldRadioGroup>
NVFieldLabel
Label define the content of the label of the Radio Field.
<NvFieldRadioGrouplabel="Field Message"><divslot="message"><NvTextsize={Size.LARGE}textColor="blue"> Field Message </NvText></div><NvFieldRadiolabel="FieldMessage 1"value="1"></NvFieldRadio><NvFieldRadiolabel="FieldMessage 2"value="2"></NvFieldRadio><NvFieldRadiolabel="FieldMessage 3"value="3"></NvFieldRadio></NvFieldRadioGroup>
NVFieldValidation
When you need a more complex (with html markups) Validation message, you can use FieldValidation RenderFragment. It will override the Validation message, coming from Model/EditContext or from Validation Parameter.
Type
Default Value
RenderFragment
null
This is an error with html markups.
<NVFieldRadioGroupLabel="NVFieldValidation" @bind-Value="model.Error"Error="@HasError"Validation="@ValidationMessage"><NVFieldValidation><NVTextColor="error">
This is an error with <strong>html markups</strong>.
</NVText></NVFieldValidation><ChildContent><NVFieldRadioLabel="Error 1"Value="1"
/><NVFieldRadioLabel="Error 2"Value="2"
/><NVFieldRadioLabel="Error 3"Value="3"
/></ChildContent></NVFieldRadioGroup>
@code {
private bool _error;
public bool HasError {
get { return true; }
set { _error = value; }
}
private bool _success;
public bool HasSuccess {
get { return false; }
set { _success = value; }
}
private string _validationMessage;
public string ValidationMessage {
get {
if(HasError) {
return "this an error";
}
if(HasSuccess) {
return "this a success";
}
}
}
}
<divclass="nv-field-radio-group nv-field-error"><labelclass="nv-field-label">Error</label><divclass="nv-field-input"><divclass="nv-field-subfields"><divclass="nv-field nv-field-radio"><labelfor="hash-NVFieldValidation-1"class="nv-field-label">Error 1</label><divclass="nv-field-input"><inputid="hash-NVFieldValidation-1"name="Error"autocomplete="off"type="radio"value="1"checked></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-NVFieldValidation-2"class="nv-field-label">Error 2</label><divclass="nv-field-input"><inputid="hash-NVFieldValidation-2"name="Error"autocomplete="off"type="radio"value="2"></div></div><divclass="nv-field nv-field-radio"><labelfor="hash-NVFieldValidation-3"class="nv-field-label">Error 3</label><divclass="nv-field-input"><inputid="hash-NVFieldValidation-3"name="Error"autocomplete="off"type="radio"value="3"></div></div></div></div><divclass="nv-field-message"><divclass="nv-field-validation"><pclass="nv-text text-sm font-normal error">
This is an error with <strong>html markups</strong>.
</p></div></div></div>
<nv-fieldradiogrouplabel="NVFieldValidation"><divslot="validation"><nv-texttextcolor="error"> This is an error with <strong>html markups</strong>. </nv-text></div><nv-fieldradiolabel="Error 1"value="1"></nv-fieldradio><nv-fieldradiolabel="Error 2"value="2"></nv-fieldradio><nv-fieldradiolabel="Error 3"value="3"></nv-fieldradio></nv-fieldradiogroup>
<NvFieldRadioGrouplabel="NVFieldValidation"><divslot="validation"><NvTexttextColor="error"> This is an error with <strong>html markups</strong>. </NvText></div><NvFieldRadiolabel="Error 1"value="1"></NvFieldRadio><NvFieldRadiolabel="Error 2"value="2"></NvFieldRadio><NvFieldRadiolabel="Error 3"value="3"></NvFieldRadio></NvFieldRadioGroup>
Options
Array of options used for the radio group. Need to be used with ForOptionValue/ForOptionLabel parameter.
Type
Default Value
TValue[]?
null
<NVFieldRadioGroup
@bind-Value="model.OptionClass"Options="@_options"TValue="RadioOptionClass"ForOptionValue="@((item) => item!.Id)"ForOptionLabel="@((item) => item!.Label)"Label="OptionClass"
/>
@{
private static RadioOptionClass[] _options = new RadioOptionClass[]
{
new() {Id = "RadioOptionClass Id 1", Label = "RadioOptionClass Name 1"},
new() {Id = "RadioOptionClass Id 2", Label = "RadioOptionClass Name 2"},
new() {Id = "RadioOptionClass Id 3", Label = "RadioOptionClass Name 3"}
};
}
...
public class RadioOptionClass
{
public string Id { get; set; } = default!;
public string Label { get; set; } = default!;
}
<divclass="nv-field nv-field-radio-group" ><labelclass="nv-field-label"for="OptionClass">OptionClass</label><divclass="nv-field-input"><divclass="nv-field-subfields nv-stack nv-stack-vertical"><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-247afcff-7728-48f4-93b7-b11f58ee178a">RadioOptionClass Name 1</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-247afcff-7728-48f4-93b7-b11f58ee178a"name="OptionClass"value="RadioOptionClass Id 1"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb">RadioOptionClass Name 2</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b49ccf5f-ee75-4fe7-bbc6-068b0a5980bb"name="OptionClass"value="RadioOptionClass Id 2"></div></div><divclass="nv-field nv-field-radio"><labelclass="nv-field-label"for="Name-b58dea01-935f-4773-915e-6d20927d39fc">RadioOptionClass Name 3</label><divclass="nv-field-input"><inputautocomplete="off"type="radio"id="Name-b58dea01-935f-4773-915e-6d20927d39fc"name="OptionClass"value="RadioOptionClass Id 3"></div></div></div></div></div>
Required
Set the Field as required. This adds an * after the label.
You can use Stack parameters to display the Field Radio on a line. Combined with the Gutter parameter you can change the distance between the FieldRadio.