mailchimp嵌入式表单是否支持对checkbox
组的验证(至少应检查一个)。我将这些组包含在嵌入式mailchimp表单中,需要进行验证,以便至少检查一个?
<div class="mc-field-group input-group">
<strong>Select categories for email notifications: </strong>
<ul><li><input type="checkbox" value="1" name="group[2281][1]" id="mce-group[2281]-2281-0">
<label for="mce-group[2281]-2281-0"> Agricultural & Groundscare</label></li>
<li><input type="checkbox" value="2" name="group[2281][2]" id="mce-group[2281]-2281-1" class="equip-group">
<label for="mce-group[2281]-2281-1"> Bus & Coach</label></li>
<li><input type="checkbox" value="4" name="group[2281][4]" id="mce-group[2281]-2281-2" class="equip-group">
<label for="mce-group[2281]-2281-2"> Commercial Vehicles</label></li>
<li><input type="checkbox" value="8" name="group[2281][8]" id="mce-group[2281]-2281-3" class="equip-group">
<label for="mce-group[2281]-2281-3"> Compressors & Generators</label></li>
<li><input type="checkbox" value="16" name="group[2281][16]" id="mce-group[2281]-2281-4" class="equip-group">
<label for="mce-group[2281]-2281-4"> Contractors & Yellow Plant</label></li>
<li><input type="checkbox" value="32" name="group[2281][32]" id="mce-group[2281]-2281-5" class="equip-group">
<label for="mce-group[2281]-2281-5"> Cranes & Access</label></li>
<li><input type="checkbox" value="64" name="group[2281][64]" id="mce-group[2281]-2281-6" class="equip-group">
<label for="mce-group[2281]-2281-6"> Engineering & Machine Tools</label></li>
<li><input type="checkbox" value="128" name="group[2281][128]" id="mce-group[2281]-2281-7" class="equip-group">
<label for="mce-group[2281]-2281-7"> Food</label></li>
<li><input type="checkbox" value="256" name="group[2281][256]" id="mce-group[2281]-2281-8" class="equip-group">
<label for="mce-group[2281]-2281-8"> Forestry</label></li>
<li><input type="checkbox" value="512" name="group[2281][512]" id="mce-group[2281]-2281-9" class="equip-group">
<label for="mce-group[2281]-2281-9"> Glass & UPVC</label></li>
<li><input type="checkbox" value="1024" name="group[2281][1024]" id="mce-group[2281]-2281-10" class="equip-group">
<label for="mce-group[2281]-2281-10"> Materials Handling</label></li>
<li><input type="checkbox" value="524288" name="group[2281][524288]" id="mce-group[2281]-2281-11" class="equip-group">
<label for="mce-group[2281]-2281-11">Misc Plant & Equipment</label></li>
<li><input type="checkbox" value="2048" name="group[2281][2048]" id="mce-group[2281]-2281-12" class="equip-group">
<label for="mce-group[2281]-2281-12"> Plastics</label></li>
<li><input type="checkbox" value="4096" name="group[2281][4096]" id="mce-group[2281]-2281-13" class="equip-group">
<label for="mce-group[2281]-2281-13"> Printing</label></li>
<li><input type="checkbox" value="8192" name="group[2281][8192]" id="mce-group[2281]-2281-14" class="equip-group">
</ul>
</div>