• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

Click the submit button to post the value of the selected RadioButton. When submitting without selecting any of the RadioButton, validation error message will be shown.

DEMO
SOURCE

Select the Gender

This sample demonstrates Tag Helper support in RadioButton. You can bind model property to the RadioButton by adding an attribute `ejs-for` and assign model property to it. While submitting form, the model property will be based on `value` of the selected RadioButton.

More information about RadioButton can be found in this documentation section .