<div class="container hide-content">
<form>
<div class="group">
<input class="sc-service-checkbox price_pick" id="check11" type="checkbox" value="2222">
<label for="check11">
<span class="name-sale">Значение 1</span>
<div class="price">
<span class="sc-service-price">2222</span>
</div>
</label>
</div>
<div class="group">
<input class="sc-service-checkbox price_pick" id="check12" type="checkbox" value="3333">
<label for="check12">
<span class="name-sale">Значение 2</span>
<div class="price">
<span class="sc-service-price">3333</span>
</div>
</label>
</div>
</form>
</div>
<div class="modal">
<form action="dom-iz-brusa-3" method="post">
<div class="modal--view__price">
<span class="modal--view__head">Выберите комплектацию</span>
<ul>
<li>
<input class="price_pick" id="srub-" type="radio" name="komplektaciya[]">
<label for="srub-">
<span class="name-sale">Значение 1</span>
<div class="price">
<span class="sc-service-price">Цена</span>
</div>
</label>
</li>
</ul>
<div class="row">
<input name="formid" type="hidden" value="Проект ">
<input type="hidden" id="type-home" value="">
<input class="btn" type="submit" name="proj-submit" value="Позвоните мне">
</div>
</form>
</div>
<script>
$('.hide-content label').click(function(){
$s = $(this).find('.name-sale').html();
$('.modal-dom #type-home').val($('.modal-dom #type-home').val() + $s + ",");
});
</script>