Magento: input check for multiple input radios

How can I make sure that with confirmation of the form magento one of several input radio stations is selected?

Is there a magenta way to achieve this, or should I do this with a prototype / jquery?

+4
source share
1 answer

You need to use a validate-one-required-by-nameswitch in the class name.

For instance: <input type='radio' class="validate-one-required-by-name"/>

Or

use validate-one-requiredon the last radio in the group.

+4
source

All Articles