Menu icon Foundation
Abide with Checkboxes, Radios, Etc.

Is it possible to have Abide check and see if at least one checkbox is checked or if a radio is selected?

I see in the example of adding required to each checkbox but in the example if a box isn't checked it is labeled as an error. I want the error to only show if a box isn't checked.

Is this possible?

abideCheckboxradio

Is it possible to have Abide check and see if at least one checkbox is checked or if a radio is selected?

I see in the example of adding required to each checkbox but in the example if a box isn't checked it is labeled as an error. I want the error to only show if a box isn't checked.

Is this possible?

Rafi Benkual over 5 years ago

This functionality was added in 5.0.3 via pull request https://github.com/zurb/foundation/pull/3157

Devin Columbus over 4 years ago

So ... has this been added? Rafi, you pointed to thread, but apparently that has nothing to do with "at least one checkbox is checked"

Am I missing something?

Akarienta over 4 years ago

It is possible if you write your own abide validator, check this SO question: http://stackoverflow.com/q/26890023/3780766