@foreach ($answers->where('id', '=', $question->profilequestionID) as $answer)
profileanswerID]))&&($othervalues[$answer->profileanswerID]==1)) checked @endif required>
@endforeach