In my custom module I have a form which has radio buttons.
When I click the submit button it does not validate the radio button.
How to validate that using the M
i got the answer,
use validate-one-required-by-name in the class name of the radio button.
validate-one-required-by-name
Cheers
or
use validate-one-required on the last radio/checkbox in the group
validate-one-required
Thanks to Rahul Tripathi