Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for radio Button group #8

Closed
kaspar-allenbach opened this issue Dec 11, 2013 · 1 comment
Closed

Check for radio Button group #8

kaspar-allenbach opened this issue Dec 11, 2013 · 1 comment

Comments

@kaspar-allenbach
Copy link

Hi.

How do I check for a radiobutton group?

<div class="radio">
   <label for="sia_1">
         <input type="radio" name="sia" id="sia_1" value="" checked>Nichts
    </label>
</div>
<div class="radio">
   <label for="sia_2">
         <input type="radio" name="sia" id="sia_2" value="SIA 1 Periode">«SIA Merkblatt 2028»: 1 Periode 
   </label>
</div>
<div class="radio">
   <label for="sia_3">
         <input type="radio" name="sia" id="sia_3" value="SIA 3 Periode">«SIA Merkblatt 2028»: 3 Periode 
   </label>
</div>

If I just add data-validetta="required" or data-validetta="minChecked[1]" it breakes the whole vailadion on every formfield.

@hsnaydd
Copy link
Owner

hsnaydd commented Dec 11, 2013

Hi @Seppentoni

Validetta doesnt support radio checking method yet,
but I will add this in a few days.

Thank You.

hsnaydd added a commit that referenced this issue Dec 12, 2013
- Fixed issue about input type radio validation.(#8)
@hsnaydd hsnaydd closed this as completed Dec 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants