我正在Chronoforms中制作一个使用Semantic-UI的表单,我需要将输入字段的值应用于无线电组的标签。我在选择开始标签时遇到了麻烦-当然应该有一种简单的方法来完成此操作?我的HTML大致如下:
<div class="multifield grouped fields required">
<label>Is this pet sterilised?</label> <<------ THIS is what I'm trying to change
<div class="field">
<div class="ui checkbox radio">
<input class="hidden" data-events="[]" data-validate="is_this_pet_sterilised-main" data-validationrules="{"identifier":"is_this_pet_sterilised-main","rules":[{"type":"minChecked[1]","prompt":"Your pet's sterilisation status is required"}]}" id="is_this_pet_sterilised0" name="is_this_pet_sterilised" tabindex="0" type="radio" value="1"> <label for="is_this_pet_sterilised0">Yes</label>
</div>
</div>
<div class="field">
<div class="ui checkbox radio">
<input class="hidden" data-events="[]" id="is_this_pet_sterilised1" name="is_this_pet_sterilised" tabindex="0" type="radio" value="0"> <label for="is_this_pet_sterilised1">No</label>
</div>
</div>
</div>