IMMREX7
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
@include('layouts.partial.head')
<body class="theme-purple">
<div class="overlay"></div>
<div class="row" style="margin:0px !important;">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<div class="card">
<div style="text-align: center;">
<a><img src="{{ asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)}}" width="90" alt="School MIS"></a>
<h2 style="text-align: center; font-size: 20px;"><strong>Online Admission Form</strong></h2>
</div>
<div class="body">
@if ($errors->has('stdregistered'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('stdregistered') }}</strong>
</label>
@endif
<form class="form-horizontal" method="POST" id="register" files="true" action="{{url('/onlinereg/'.$reg_student->idRegistration)}}" enctype="multipart/form-data">
{{ csrf_field() }}
<!-- progressbar -->
<strong>
<ul id="progressbar">
<li class="active">Applicant Detail</li>
<li id="second">Contact Information:Residential</li>
<li id="fourth">Parents Detail</li>
<li id="fifth">Other Information</li>
</ul>
</strong>
<div id="sf1" class="frm">
<input type="hidden" name='idSchool' value="{{$school->idSchool}}">
<input type="hidden" name='form_type' value="R">
<fieldset>
<p class="form-control-static" style="font-weight: bold">Basic Detail</p>
<div class="row">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">First Name</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->firstName))
{!! Form::text('firstName',$reg_student->firstName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('firstName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('firstName'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('firstName') }}</strong>
</label>
@endif
<span id="fnameerror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Middle Name</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->middleName))
{!! Form::text('middleName',$reg_student->middleName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('middleName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('middleName'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('middleName') }}</strong>
</label>
@endif
<span id="mnameerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Last Name</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->lastName))
{!! Form::text('lastName',$reg_student->lastName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('lastName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('lastName'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('lastName') }}</strong>
</label>
@endif
<span id="lnameerror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Admission For Class</label>
</div>
<div class="col-md-3 col-sm-6">
@if(isset($reg_student->idClass))
{!! Form::select('idClass',$classes,$reg_student->idClass,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('idClass',$classes,null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
<div class="form-group">
@if ($errors->has('idClass'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('idClass') }}</strong>
</label>
@endif
<span id='classerror'></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Date Of Birth (in figures)</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->studentDob))
{!! Form::text('studentDob',$reg_student->studentDob,['class' => 'form-control datepickerdob','required'=>'required']) !!}
@else
{!! Form::text('studentDob',null,['class' => 'form-control datepickerdob','required'=>'required']) !!}
@endif
@if ($errors->has('studentDob'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('studentDob') }}</strong>
</label>
@endif
<span id="doberror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Date Of Birth (in words)</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->dobwords))
{!! Form::text('dobwords',$reg_student->dobwords,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('dobwords',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('dobwords'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('dobwords') }}</strong>
</label>
@endif
<span id="dobwordserror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname">L.C. No (if applicable)</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->lcno))
{!! Form::text('lcno',$reg_student->lcno,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('lcno',null,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('lcno'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('lcno') }}</strong>
</label>
@endif
<span id="doberror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Place Of Birth</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->studentPob))
{!! Form::text('studentPob',$reg_student->studentPob,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('studentPob',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('studentPob'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('studentPob') }}</strong>
</label>
@endif
<span id="poberror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">District</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->birth_district))
{!! Form::text('birth_district',$reg_student->birth_district,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('birth_district',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('birth_district'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('birth_district') }}</strong>
</label>
@endif
<span id="birthdistricterror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">State</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->birth_state))
{!! Form::select('birth_state',states(),$reg_student->birth_state,['class' => 'form-control show-tick ms select2','required'=>'required']) !!}
@else
{!! Form::select('birth_state',states(),null,['class' => 'form-control show-tick ms select2','required'=>'required']) !!}
@endif
@if ($errors->has('birth_state'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('birth_state') }}</strong>
</label>
@endif
<span id="birth_state_error"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Gender</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->gender))
{!! Form::select('gender',[''=>'Select','Male'=>'Male','Female'=>'Female'],$reg_student->gender,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('gender',[''=>'Select','Male'=>'Male','Female'=>'Female'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('gender'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('gender') }}</strong>
</label>
@endif
<span id="gendererror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Aadhaar No.</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->aadhaarNo))
{!! Form::text('aadhaarNo',$reg_student->aadhaarNo,['class' => 'form-control','maxlength'=>'12','minlength'=>'12','onkeypress'=>'return isNumber(event)', 'pattern'=>'^[2-9]{1}[0-9]{11}$','required'=>'required']) !!}
@else
{!! Form::text('aadhaarNo',null,['class' => 'form-control','maxlength'=>'12','minlength'=>'12','onkeypress'=>'return isNumber(event)', 'pattern'=>'^[2-9]{1}[0-9]{11}$','required'=>'required']) !!}
@endif
@if ($errors->has('aadhaarNo'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('aadhaarNo') }}</strong>
</label>
@endif
<span id="aadhaarerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Religion</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->religion))
{!! Form::text('religion',$reg_student->religion,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('religion',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('religion'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('religion') }}</strong>
</label>
@endif
<span id="religionrerror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Caste</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->caste))
{!! Form::text('caste',$reg_student->caste,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('caste',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('caste'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('caste') }}</strong>
</label>
@endif
<span id="casteerror"></span>
</div>
</div>
<!--
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname">Student Type</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(count($studentCategory) > 0)
{!! Form::select('studentType',$studentCategory,null,['class' => 'form-control show-tick ms']) !!}
@else
{!! Form::select('studentType',['New'=>'New'],null,['class' => 'form-control show-tick ms']) !!}
@endif
@if ($errors->has('studentType'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('studentType') }}</strong>
</label>
@endif
<span id="stdtypeerror"></span>
</div>
</div>
-->
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Sub Caste</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->subcaste))
{!! Form::text('subcaste',$reg_student->subcaste,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('subcaste',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('subcaste'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('subcaste') }}</strong>
</label>
@endif
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Sessions</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(count($sessions) > 0)
@if(isset($reg_student->idFinancialYear))
{!! Form::select('idFinancialYear',$sessions,$reg_student->idFinancialYear,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('idFinancialYear',$sessions,null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@endif
@if ($errors->has('sessions'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('sessions') }}</strong>
</label>
@endif
<span id="stdtypeerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Nationality</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->nationality))
{!! Form::select('nationality',['India'=>'India','Other'=>'Other'],$reg_student->nationality,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('nationality',['India'=>'India','Other'=>'Other'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('nationality'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('nationality') }}</strong>
</label>
@endif
<span id="nationalityerror"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Principal language Spoken at Home</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->motherTounge))
{!! Form::text('motherTounge',$reg_student->motherTounge,['class' => 'form-control','required'=>'required']) !!}
@else
{!! Form::text('motherTounge',null,['class' => 'form-control','required'=>'required']) !!}
@endif
@if ($errors->has('motherTounge'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('motherTounge') }}</strong>
</label>
@endif
<span id="motherToungeerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname">Photo</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
{!! Form::file('photo',null,['class' => 'form-control']) !!}
@if ($errors->has('photo'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('photo') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<p class="col-md-6 col-sm-6" style="color:red;">Note : Photo should be passport size with white background and this photograph will be used in <u><b>School ID Card</b></u> </p>
</div>
<div class="clearfix" style="height: 10px;clear: both;"></div>
<div class="form-group">
<div class="col-sm-12" style="text-align: center;">
<button class="btn btn-primary open1 center-block" type="button" id="next1"> Next <span class="fa fa-arrow-right"></span></button>
</div>
</div>
</fieldset>
</div>
<div id="sf2" class="frm" style="display: none;">
<fieldset>
<p class="form-control-static" style="font-weight: bold">Contact Information:Residential</p>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Residential Address</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->resAddress))
{!! Form::text('resAddress',$reg_student->resAddress,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('resAddress',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('resAddress'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('resAddress') }}</strong>
</label>
@endif
<span id="resaddress"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">City</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->resCity))
{!! Form::text('resCity',$reg_student->resCity,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('resCity',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('resCity'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('resCity') }}</strong>
</label>
@endif
<span id="rescity"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">Postal/Zipcode</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->resPincode))
{!! Form::text('resPincode',$reg_student->resPincode,['class' => 'form-control','required'=>'required','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']) !!}
@else
{!! Form::text('resPincode',null,['class' => 'form-control','required'=>'required','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']) !!}
@endif
@if ($errors->has('resPincode'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('resPincode') }}</strong>
</label>
@endif
<span id="respincode"></span>
</div>
</div>
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname">Landmark</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->landmark))
{!! Form::text('landmark',$reg_student->landmark,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('landmark',null,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('landmark'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('landmark') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname" class="required">State</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->resState))
{!! Form::select('resState',states(),$reg_student->resState,['class' => 'form-control show-tick ms select2','required'=>'required']) !!}
@else
{!! Form::select('resState',states(),null,['class' => 'form-control show-tick ms select2','required'=>'required']) !!}
@endif
@if ($errors->has('resState'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('resState') }}</strong>
</label>
@endif
<span id="resstate"></span>
</div>
</div>
</div>
<div class="clearfix" style="height: 10px;clear: both;"></div>
<div class="clearfix" style="height: 10px;clear: both;"></div>
<div class="form-group">
<div class="col-sm-12" style="text-align: center;">
<button class="btn btn-warning back2 pull-left" type="button" id="previous"><span class="fa fa-arrow-left"></span> Previous</button>
<button class="btn btn-primary open2 pull-right" type="button" id="next2">Next <span class="fa fa-arrow-right"></span></button>
</div>
</div>
</fieldset>
</div>
<div id="sf4" class="frm" style="display: none;">
<fieldset>
<div class="row clearfix">
<div class="col-sm-12 col-md-12 col-lg-6">
<p class="form-control-static" style="font-weight: bold"> Particulars of Father / Mother / Guardian #1</p>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname">Relationship with the child</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->ralationship_one))
{!! Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],$reg_student->ralationship_one,['class' => 'form-control show-tick ms select2']) !!}
@else
{!! Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],null,['class' => 'form-control show-tick ms select2']) !!}
@endif
@if ($errors->has('ralationship_one'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('ralationship_one') }}</strong>
</label>
@endif
<span id="relone"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Name</label>
</div>
<div class="col-sm-4">
<div class="form-group">
@if(isset($reg_student->father_fname))
{!! Form::text('father_fname',$reg_student->father_fname,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('father_fname',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('father_fname'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_fname') }}</strong>
</label>
@endif
<span id="fatherfname"></span>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
@if(isset($reg_student->father_lname))
{!! Form::text('father_lname',$reg_student->father_lname,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('father_lname',null,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('father_lname'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_lname') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Date Of Birth</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->father_dob))
{!! Form::text('father_dob',$reg_student->father_dob,['class' => 'form-control datepicker','required'=>'required']) !!}
@else
{!! Form::text('father_dob',null,['class' => 'form-control datepicker','required'=>'required']) !!}
@endif
@if ($errors->has('father_dob'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_dob') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Qualification</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->father_qualification))
{!! Form::text('father_qualification',$reg_student->father_qualification,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('father_qualification',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('father_qualification'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_qualification') }}</strong>
</label>
@endif
<span id="fatherqual"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Business/Employee</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->father_occupation))
{!! Form::text('father_occupation',$reg_student->father_occupation,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('father_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('father_occupation'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_occupation') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Mobile</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->father_mobile))
{!! Form::text('father_mobile',$reg_student->father_mobile,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']) !!}
@else
{!! Form::text('father_mobile',null,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']) !!}
@endif
@if ($errors->has('father_mobile'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_mobile') }}</strong>
</label>
@endif
<br>
<p style="color:red;">This number will be your UserID for login</p>
<span id="fathermobile"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Email</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->father_email))
{!! Form::email('father_email',$reg_student->father_email,['class' => 'form-control','required'=>'required']) !!}
@else
{!! Form::email('father_email',null,['class' => 'form-control']) !!}
@endif
@if ($errors->has('father_email'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('father_email') }}</strong>
</label>
@endif
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<p class="form-control-static" style="font-weight: bold"> Particulars of Father / Mother / Guardian #1</p>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname">Relationship with the child</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->ralationship_two))
{!! Form::select('ralationship_two',['Mother'=>'Mother','Father'=>'Father','Guardian'=>'Guardian'],$reg_student->ralationship_two,['class' => 'form-control show-tick ms select2']) !!}
@else
{!! Form::select('ralationship_two',['Mother'=>'Mother','Father'=>'Father','Guardian'=>'Guardian'],null,['class' => 'form-control show-tick ms select2']) !!}
@endif
@if ($errors->has('ralationship_two'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('ralationship_two') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Name</label>
</div>
<div class="col-sm-4">
<div class="form-group">
@if(isset($reg_student->mother_fname))
{!! Form::text('mother_fname',$reg_student->mother_fname,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('mother_fname',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('mother_fname'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_fname') }}</strong>
</label>
@endif
<span id="motherfname"></span>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
@if(isset($reg_student->mother_lname))
{!! Form::text('mother_lname',$reg_student->mother_lname,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::text('mother_lname',null,['class' => 'form-control','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('mother_lname'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_lname') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Date Of Birth</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->mother_dob))
{!! Form::text('mother_dob',$reg_student->mother_dob,['class' => 'form-control datepicker','required'=>'required']) !!}
@else
{!! Form::text('mother_dob',null,['class' => 'form-control datepicker','required'=>'required']) !!}
@endif
@if ($errors->has('mother_dob'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_dob') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Qualification</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->mother_qualification))
{!! Form::text('mother_qualification',$reg_student->mother_qualification,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('mother_qualification',null,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('mother_qualification'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_qualification') }}</strong>
</label>
@endif
<span id="motherqual"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Business/Employee</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->mother_occupation))
{!! Form::text('mother_occupation',$reg_student->mother_occupation,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@else
{!! Form::text('mother_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase','required'=>'required']) !!}
@endif
@if ($errors->has('mother_occupation'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_occupation') }}</strong>
</label>
@endif
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Mobile</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->mother_mobile))
{!! Form::text('mother_mobile',$reg_student->mother_mobile,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']) !!}
@else
{!! Form::text('mother_mobile',null,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']) !!}
@endif
@if ($errors->has('mother_mobile'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_mobile') }}</strong>
</label>
@endif
<span id="mothermobile"></span>
<br>
<p style="color:red;">This number will be your UserID for login</p>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-3 col-sm-6 form-control-label">
<label for="classname" class="required">Email</label>
</div>
<div class="col-sm-6">
<div class="form-group">
@if(isset($reg_student->mother_email))
{!! Form::email('mother_email',$reg_student->mother_email,['class' => 'form-control','required'=>'required']) !!}
@else
{!! Form::email('mother_email',null,['class' => 'form-control','required'=>'required']) !!}
@endif
@if ($errors->has('mother_email'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('mother_email') }}</strong>
</label>
@endif
</div>
</div>
</div>
</div>
</div>
<div class="clearfix" style="height: 10px;clear: both;"></div>
<div class="form-group">
<div class="col-sm-12" style="text-align: center;">
<button class="btn btn-warning back4 pull-left" type="button" id="previous"><span class="fa fa-arrow-left"></span> Previous</button>
<button class="btn btn-primary open2 pull-right" type="button" id="next4">Next <span class="fa fa-arrow-right"></span></button>
</div>
</div>
</fieldset>
</div>
<div id="sf6" class="frm" style="display: none;">
<fieldset>
<p class="form-control-static" style="font-weight: bold">Requirements</p>
<div class="row clearfix">
<div class="col-md-2 col-sm-5 form-control-label">
<label for="classname">Category</label>
</div>
<div class="col-md-3 col-sm-6">
<div class="form-group">
@if(isset($reg_student->category))
{!! Form::select('category',[''=>'Select','General'=>'General','OBC'=>'OBC','SC'=>'SC','ST'=>'ST'],$reg_student->category,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('category',[''=>'Select','General'=>'General','OBC'=>'OBC','SC'=>'SC','ST'=>'ST'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('category'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('category') }}</strong>
</label>
@endif
<span id="categoryerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-8 form-control-label">
<label for="classname">SC,ST,OBC Certificate Submitted</label>
</div>
<div class="col-md-2 col-sm-5">
<div class="form-group">
@if(isset($reg_student->categoryCertificate))
{!! Form::select('categoryCertificate',[''=>'Select','Yes'=>'Yes','No'=>'No','NA'=>'NA'],$reg_student->categoryCertificate,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('categoryCertificate',[''=>'Select','Yes'=>'Yes','No'=>'No','NA'=>'NA'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('categoryCertificate'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('categoryCertificate') }}</strong>
</label>
@endif
<span id="categoryCertificateerror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-8 form-control-label">
<label for="classname">Birth Certificate/ L.C. Submitted</label>
</div>
<div class="col-md-2 col-sm-5">
<div class="form-group">
@if(isset($reg_student->birth_certificate))
{!! Form::select('birth_certificate',[''=>'Select','Submitted'=>'Submitted','Not Submitted'=>'Not Submitted'],$reg_student->birth_certificate,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('birth_certificate',[''=>'Select','Submitted'=>'Submitted','Not Submitted'=>'Not Submitted'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('category'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('birth_certificate') }}</strong>
</label>
@endif
<span id="birtherror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-md-8 form-control-label">
<label for="classname">Reason for Non Submitting of Birth Certificate / Leaving Certificate</label>
</div>
</div>
<div class="row clearfix">
<div class="col-md-10 form-control-label">
<div class="form-group">
@if(isset($reg_student->reasonForChange))
{!! Form::textarea('reasonForChange',$reg_student->reasonForChange,['class' => 'form-control','size'=>'30x2','style'=>'text-transform:uppercase']) !!}
@else
{!! Form::textarea('reasonForChange',null,['class' => 'form-control','size'=>'30x2','style'=>'text-transform:uppercase']) !!}
@endif
@if ($errors->has('reasonForChange'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('reasonForChange') }}</strong>
</label>
@endif
<span id="reasonserror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-8 form-control-label">
<label for="classname">Do You require transport service facility for your child.?</label>
</div>
<div class="col-md-2 col-sm-5">
<div class="form-group">
<div class="inlineblock m-r-20">
<input name="transport" class="with-gap" type="radio" checked="" value="Y" <?php if($reg_student->transport == 'Y') echo 'checked';?> >
<label for="Yes">Yes</label>
</div>
<div class="inlineblock">
<input name="transport" class="with-gap" type="radio" value="N" <?php if($reg_student->transport == 'N') echo 'checked';?>>
<label for="No">No</label>
</div>
@if ($errors->has('transport'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('transport') }}</strong>
</label>
@endif
<span id="transporterror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-8 form-control-label">
<label for="classname">Do You require canteen service.?</label>
</div>
<div class="col-md-2 col-sm-5">
<div class="form-group">
<div class="inlineblock m-r-20">
<input name="food" class="with-gap" type="radio" checked="" value="Y" <?php if($reg_student->food == 'Y') echo 'checked';?>>
<label for="Yes">Yes</label>
</div>
<div class="inlineblock">
<input name="food" class="with-gap" type="radio" value="N" <?php if($reg_student->food == 'N') echo 'checked';?>>
<label for="No">No</label>
</div>
@if ($errors->has('food'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('food') }}</strong>
</label>
@endif
<span id="fooderror"></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-8 form-control-label">
<label for="classname">Xerox of Other Document (With Parents Signature)</label>
</div>
<div class="col-md-2 col-sm-5">
<div class="form-group">
@if(isset($reg_student->xerox_docs))
{!! Form::select('xerox_docs',[''=>'Select','Submitted'=>'Submitted','Not Submitted'=>'Not Submitted'],$reg_student->xerox_docs,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@else
{!! Form::select('xerox_docs',[''=>'Select','Submitted'=>'Submitted','Not Submitted'=>'Not Submitted'],null,['class' => 'form-control show-tick ms','required'=>'required']) !!}
@endif
@if ($errors->has('xerox_docs'))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first('xerox_docs') }}</strong>
</label>
@endif
</div>
</div>
</div>
@foreach($documentMaster as $key=>$value)
<div class="row clearfix">
<div class="col-sm-5 form-control-label">
<label for="classname">{{$value}}</label>
</div>
<div class="col-sm-6">
<div class="form-group">
{!! Form::file(str_replace(' ', '_',strtolower($value)),null,['class' => 'form-control']) !!}
@if ($errors->has(str_replace(' ', '_',strtolower($value))))
<label id="minmaxlength-error" class="error" for="minmaxlength">
<strong>{{ $errors->first(str_replace(' ', '_',strtolower($value))) }}</strong>
</label>
@endif
</div>
</div>
</div>
@endforeach
<div class="row clearfix">
<div class="col-sm-12 form-control-label">
<p>Note : Check mark the box below to enable or show submit button</p>
<input type="checkbox" id="chAgree" name="chAgree" value="">
<label for="chAgree">I agree to be charged if any changes required in the given information after submitting this form.</label>
</div>
</div>
<div class="form-group">
<div class="col-sm-12" style="text-align: center;">
<button class="btn btn-warning back6 pull-left" type="button" id="previous"><span class="fa fa-arrow-left"></span> Previous</button>
<button class="btn btn-primary open3 pull-right" type="submit" id="submit">Submit </button>
</div>
</div>
</fieldset>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Scripts -->
@include('layouts.partial.script')
<script>
$('input[name=chAgree]').change(function() {
if ($(this).is(':checked')) {
$('#submit').show();
} else {
$('#submit').hide();
}
});
$('.datepickerdob').datepicker({
autoclose: true,
autoWidth: false,
format: 'dd-mm-yyyy',
endDate: '+0d',
orientation: 'auto'
});
$(document).ready(function () {
//Add Input field if others is selecyted
$('#submit').hide();
var v = $('#register').validate({
rules: {
firstName: {
required: true,
maxlength: 40,
minlength: 2
}
},
messages: {
firstName: {
required: "First name should not be empty.",
minlength: "First name must have atleast 2 Characters."
}
}
});
$("select").on("select2:close", function (e) {
$(this).valid();
});
$("#next1").click(function () {
if (v.form()) {
$(".frm").hide("fast");
$("#sf2").show("slow");
$("#progressbar li#second").addClass("active");
}
});
$("#next2").click(function () {
if (v.form()) {
$(".frm").hide("fast");
$("#sf4").show("slow");
$("#progressbar li#fourth").addClass("active");
}
});
$("#next4").click(function () {
if (v.form()) {
$(".frm").hide("fast");
$("#sf6").show("slow");
$("#progressbar li#sixth").addClass("active");
}
});
$(".back2").click(function () {
$(".frm").hide("fast");
$("#sf1").show("slow");
$("#progressbar li#second").removeClass("active");
});
$(".back4").click(function () {
$(".frm").hide("fast");
$("#sf2").show("slow");
$("#progressbar li#fourth").removeClass("active");
});
$(".back6").click(function () {
$(".frm").hide("fast");
$("#sf4").show("slow");
$("#progressbar li#sixth").removeClass("active");
});
});
</script>
</body>
</html>
Copyright © 2021 -