@if ($errors) {{ $errors->first('label') }} @endif
@if($errors->has('type')) {{ $errors->first('type') }} @endif
required == 1?'checked':''):(old('required') ? 'checked' : '')}}>
@php $type = isset($type) ? $type : null; @endphp @if(moduleStatusCheck('ParentRegistration')== TRUE && $type == 'student_online_regi'){{-- added for online student registration custom field showing --abunayem --}}
is_showing == 1?'checked':''):(old('is_showing_online_registration') ? 'checked' : '')}}>
@endif
@php if(isset($v_custom_field)){ $v_lengths = json_decode($v_custom_field->min_max_length); $v_values = json_decode($v_custom_field->min_max_value); } @endphp
@if ($errors) {{ $errors->first('min_max_length.0') }} @endif
@if ($errors) {{ $errors->first('min_max_length.1') }} @endif
@php $v_name_values = []; if (isset($v_custom_field) && !empty($v_custom_field->name_value)) { $v_name_values = json_decode($v_custom_field->name_value); } @endphp @if (isset($v_custom_field) && in_array($v_custom_field->type, ["checkboxInput", "radioInput", "dropdownInput"]) && is_array($v_name_values)) @foreach ($v_name_values as $v_name_value)
@if ($errors->has('value')) {{ $errors->first('value') }} @endif
@endforeach @endif
@if($errors->has('width')) {{ $errors->first('width') }} @endif
@if(userPermission("store-student-registration-custom-field") || userPermission("store-staff-registration-custom-field"))
@endif