parsley.js でラジオ ボタンを検証しようとしています。以下は私が使用しようとしているコードです
<p id="registration_field_custom2" class="onefield registration_field_custom2">
<span class="doyou">
<span class="text">etc etc etc etc ?</span>
<input type="radio" name="custom2" value="Yes" id="custom2_yes"
data-required="true"
data-error-container="#submitDetails .error6"
data-error-message ="Please chose either yes or no"
/>
<label for="custom2_yes">Yes</label>
<input type="radio" name="custom2" value="No" id="custom2_no"
/>
<label for="custom2_no">No</label>
</span>
</p>
ただし、はいまたはいいえを選択した場合でも、両方に必要なデータを探しています。ユーザーが「はい」または「いいえ」のいずれかを選択できるようにしたいだけです... parsley.jsでそれを行うにはどうすればよいですか?