$(function(){
//将需要提交的checkbox的value,拼成字符串,放入隐藏域replyway
$('input[type=checkbox]').change(function(){
$('#replyway').val($('input[type=checkbox]:checked').map(function(){return this.value}).get().join(','));
});
<input type="checkbox" name="replyway_tele" id="replyway_tele" value="0" checked/>
<label for="replyway_tele">电话回复</label>
<input type="checkbox" name="replyway_email" id="replyway_email" value="1"/>
<label for="replyway_email">邮件回复</label>
<input type="hidden" name="replyway" id="replyway" value="">