IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/8de95ec5e3e3bf424f6da2b0a6ddcc4c95955a0e.php

<!DOCTYPE html>
<html lang="<?php echo e(app()->getLocale()); ?>">
    <?php echo $__env->make('layouts.partial.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <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="<?php echo e(asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)); ?>" width="90" alt="School MIS"></a>
                        <h2  style="text-align: center; font-size: 20px;"><strong>Online Registration Form</strong></h2>
                    </div>
                    <div class="body">
                        <?php if($errors->has('stdregistered')): ?>
                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                            <strong><?php echo e($errors->first('stdregistered')); ?></strong>
                        </label>
                        <?php endif; ?> 
                        <form class="form-horizontal" method="POST"  id="register" files="true" action="<?php echo e(url('/onlinereg/'.$reg_student->idRegistration)); ?>" enctype="multipart/form-data">
                            <?php echo e(csrf_field()); ?>

                            <!-- progressbar -->
                            <strong>
                                <ul id="progressbar">
                                    <li class="active">Basic Detail</li>
                                    <li id="second">Contact Information:Residential</li>
                                    <li id="third">Last School Attended</li>
                                    <li id="fourth">Parents Detail</li>
                                    <li id="fifth">Emergency Contact Information</li>
                                    <li id="sixth">Sibling Details</li>
                                </ul>
                            </strong>
                            <div id="sf1" class="frm">
                                <input type="hidden" name='idSchool' value="<?php echo e($school->idSchool); ?>">
                                <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">
                                                <?php if(isset($reg_student->firstName)): ?>
                                                <?php echo Form::text('firstName',$reg_student->firstName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('firstName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('firstName')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('firstName')); ?></strong>
                                                </label>
                                                <?php 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">
                                                <?php if(isset($reg_student->middleName)): ?>
                                                <?php echo Form::text('middleName',$reg_student->middleName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('middleName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('middleName')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('middleName')); ?></strong>
                                                </label>
                                                <?php 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">
                                                <?php if(isset($reg_student->lastName)): ?>
                                                <?php echo Form::text('lastName',$reg_student->lastName,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('lastName',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('lastName')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastName')); ?></strong>
                                                </label>
                                                <?php 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">
                                        <?php if(isset($reg_student->idClass)): ?>
                                        <?php echo Form::select('idClass',$classes,$reg_student->idClass,['class' => 'form-control show-tick ms','required'=>'required']); ?>

                                       <?php else: ?>
                                       <?php echo Form::select('idClass',$classes,null,['class' => 'form-control show-tick ms','required'=>'required']); ?>

                                       <?php endif; ?>
                                            <div class="form-group">
                                                <?php if($errors->has('idClass')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('idClass')); ?></strong>
                                                </label>
                                                <?php 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</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->studentDob)): ?>
                                            <?php echo Form::text('studentDob',$reg_student->studentDob,['class' => 'form-control datepickerdob','required'=>'required']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('studentDob',null,['class' => 'form-control datepickerdob','required'=>'required']); ?>

                                                <?php endif; ?>
                                                 <?php if($errors->has('studentDob')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('studentDob')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="doberror"></span>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Place Of Birth</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->studentPob)): ?>
                                            <?php echo Form::text('studentPob',$reg_student->studentPob,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('studentPob',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('studentPob')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('studentPob')); ?></strong>
                                                </label>
                                                <?php 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">Gender</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->gender)): ?>
                                            <?php echo Form::select('gender',[''=>'Select','Male'=>'Male','Female'=>'Female'],$reg_student->gender,['class' => 'form-control show-tick ms','required'=>'required']); ?>

                                                <?php else: ?>
                                                <?php echo Form::select('gender',[''=>'Select','Male'=>'Male','Female'=>'Female'],null,['class' => 'form-control show-tick ms','required'=>'required']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('gender')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('gender')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="gendererror"></span>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Aadhaar No.</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->aadhaarNo)): ?>
                                            <?php echo Form::text('aadhaarNo',$reg_student->aadhaarNo,['class' => 'form-control','maxlength'=>'12','minlength'=>'12','onkeypress'=>'return isNumber(event)', 'pattern'=>'^[2-9]{1}[0-9]{11}$']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('aadhaarNo',null,['class' => 'form-control','maxlength'=>'12','minlength'=>'12','onkeypress'=>'return isNumber(event)', 'pattern'=>'^[2-9]{1}[0-9]{11}$']); ?>

                                                <?php endif; ?>
                                                 <?php if($errors->has('aadhaarNo')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('aadhaarNo')); ?></strong>
                                                </label>
                                                <?php 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">Religion</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->religion)): ?>
                                            <?php echo Form::text('religion',$reg_student->religion,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('religion',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('religion')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('religion')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="religionrerror"></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">
                                            <?php if(count($studentCategory) > 0): ?>
                                            <?php echo Form::select('studentType',$studentCategory,null,['class' => 'form-control show-tick ms']); ?>

                                            <?php else: ?>
                                            <?php echo Form::select('studentType',['New'=>'New'],null,['class' => 'form-control show-tick ms']); ?>

                                            <?php endif; ?>
                                                <?php if($errors->has('studentType')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('studentType')); ?></strong>
                                                </label>
                                                <?php 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">Mother Tongue</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                                <?php if(isset($reg_student->motherTounge)): ?>
                                                <?php echo Form::text('motherTounge',$reg_student->motherTounge,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('motherTounge',null,['class' => 'form-control','onkeypress'=>'return lettersOnly(event)']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('motherTounge')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('motherTounge')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname" class="required">Blood Group</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                                <?php if(isset($reg_student->bloodGroup)): ?>
                                                <?php echo Form::text('bloodGroup',$reg_student->bloodGroup,['class' => 'form-control','required'=>'required']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('bloodGroup',null,['class' => 'form-control','required'=>'required']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('bloodGroup')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('bloodGroup')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="bloodgrp"></span>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Sessions</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(count($sessions) > 0): ?>
                                            <?php if(isset($reg_student->idFinancialYear)): ?>
                                            <?php echo Form::select('idFinancialYear',$sessions,$reg_student->idFinancialYear,['class' => 'form-control show-tick ms']); ?>

                                            <?php else: ?>
                                            <?php echo Form::select('idFinancialYear',$sessions,null,['class' => 'form-control show-tick ms']); ?>

                                            <?php endif; ?>
                                            <?php endif; ?>
                                                <?php if($errors->has('sessions')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('sessions')); ?></strong>
                                                </label>
                                                <?php 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">Photo</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                             <input type="file" name="photo"/>
                                                <?php if($errors->has('photo')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('photo')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    <p class="col-md-6 col-sm-6" style="color:red;">Note : Photo should be passport size with white background </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">
                                            <?php if(isset($reg_student->resAddress)): ?>
                                            <?php echo Form::text('resAddress',$reg_student->resAddress,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('resAddress',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('resAddress')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('resAddress')); ?></strong>
                                                </label>
                                                <?php 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">
                                            <?php if(isset($reg_student->resCity)): ?>
                                            <?php echo Form::text('resCity',$reg_student->resCity,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('resCity',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                 <?php if($errors->has('resCity')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('resCity')); ?></strong>
                                                </label>
                                                <?php 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">
                                            <?php if(isset($reg_student->resPincode)): ?>
                                            <?php echo Form::text('resPincode',$reg_student->resPincode,['class' => 'form-control','required'=>'required','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('resPincode',null,['class' => 'form-control','required'=>'required','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('resPincode')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('resPincode')); ?></strong>
                                                </label>
                                                <?php 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">
                                            <?php if(isset($reg_student->landmark)): ?>
                                            <?php echo Form::text('landmark',$reg_student->landmark,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('landmark',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('landmark')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('landmark')); ?></strong>
                                                </label>
                                                <?php 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">
                                            <?php if(isset($reg_student->resState)): ?>
                                            <?php echo Form::select('resState',states(),$reg_student->resState,['class' => 'form-control show-tick ms select2','required'=>'required']); ?>

                                                <?php else: ?>
                                                <?php echo Form::select('resState',states(),null,['class' => 'form-control show-tick ms select2','required'=>'required']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('resState')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('resState')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="resstate"></span>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Telephone</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->ralationship_one)): ?>
                                                    <?php echo Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],$reg_student->ralationship_one,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],null,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php endif; ?>
                                                         <?php if($errors->has('resTelephone')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('resTelephone')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </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="sf3" class="frm" style="display: none;">
                                <fieldset>
                                    <p class="form-control-static" style="font-weight: bold"> Details of Last School Attended</p>
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Name of the School</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchool)): ?>
                                            <?php echo Form::text('lastSchool',$reg_student->lastSchoo,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('lastSchool',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('lastSchool')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchool')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Curriculum/Board</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->board)): ?>
                                            <?php echo Form::text('board',$reg_student->board,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('board',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('board')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('board')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Percentage</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->board)): ?>
                                            <?php echo Form::text('board',$reg_student->board,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('board',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php endif; ?>
                                               <?php echo Form::text('percentage',null,['class' => 'form-control','onkeypress'=>'return onlyNumbersandSpecialChar(event)']); ?>

                                                <?php if($errors->has('percentage')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('percentage')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Address</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchoolAddress)): ?>
                                            <?php echo Form::text('lastSchoolAddress',$reg_student->lastSchoolAddress,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('lastSchoolAddress',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                               <?php endif; ?>
                                                <?php if($errors->has('lastSchoolAddress')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchoolAddress')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">City</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchoolCity)): ?>
                                            <?php echo Form::text('lastSchoolCity',$reg_student->lastSchoolCity,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                 <?php else: ?>
                                                 <?php echo Form::text('lastSchoolCity',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                                <?php endif; ?>
                                               <?php if($errors->has('lastSchoolCity')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchoolCity')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Postal/zipcoode</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchoolPincode)): ?>
                                            <?php echo Form::text('lastSchoolPincode',$reg_student->lastSchoolPincode,['class' => 'form-control','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('lastSchoolPincode',null,['class' => 'form-control','minlength'=>'6','maxlength'=>'6','onkeypress'=>'return isNumber(event)']); ?>

                                                <?php endif; ?>
                                               <?php if($errors->has('lastSchoolPincode')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchoolPincode')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">State</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchoolState)): ?>
                                            <?php echo Form::select('lastSchoolState',states(),$reg_student->lastSchoolState,['class' => 'form-control show-tick ms select2']); ?>

                                                <?php else: ?>
                                                <?php echo Form::select('lastSchoolState',states(),null,['class' => 'form-control show-tick ms select2']); ?>

                                               <?php endif; ?>
                                                <?php if($errors->has('lastSchoolState')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchoolState')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Telephone</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->lastSchoolPhone)): ?>
                                            <?php echo Form::text('lastSchoolPhone',$reg_student->lastSchoolPhone,['class' => 'form-control','onkeypress'=>'return onlyNumbersandSpecialChar(event)']); ?>

                                                <?php else: ?>
                                                <?php echo Form::text('lastSchoolPhone',null,['class' => 'form-control','onkeypress'=>'return onlyNumbersandSpecialChar(event)']); ?>

                                                <?php endif; ?>
                                                <?php if($errors->has('lastSchoolPhone')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchoolPhone')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-md-2 col-sm-5 form-control-label">
                                            <label for="classname">Reason for Change</label>
                                        </div>
                                        <div class="col-md-3 col-sm-6">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->reasonForChange)): ?>
                                            <?php echo Form::text('reasonForChange',$reg_student->reasonForChange,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                               <?php else: ?>
                                               <?php echo Form::text('reasonForChange',null,['class' => 'form-control','onkeypress'=>'return onlylettersandSpecialChar(event)']); ?>

                                               <?php endif; ?>
                                                <?php if($errors->has('reasonForChange')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('reasonForChange')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </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 back3 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="next3">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">
                                                    <?php if(isset($reg_student->ralationship_one)): ?>
                                                    <?php echo Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],$reg_student->ralationship_one,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::select('ralationship_one',['Father'=>'Father','Mother'=>'Mother','Guardian'=>'Guardian'],null,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('ralationship_one')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('ralationship_one')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->father_fname)): ?>
                                                    <?php echo Form::text('father_fname',$reg_student->father_fname,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_fname',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_fname')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_fname')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                        <span id="fatherfname"></span>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_lname)): ?>
                                                    <?php echo Form::text('father_lname',$reg_student->father_lname,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_lname',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_lname')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_lname')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Date Of Birth</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_dob)): ?>
                                                    <?php echo Form::text('father_dob',$reg_student->father_dob,['class' => 'form-control datepicker']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_dob',null,['class' => 'form-control datepicker']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_dob')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_dob')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->father_qualification)): ?>
                                                    <?php echo Form::text('father_qualification',$reg_student->father_qualification,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_qualification',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_qualification')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_qualification')); ?></strong>
                                                        </label>
                                                        <?php 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">Occupation</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_occupation)): ?>
                                                    <?php echo Form::text('father_occupation',$reg_student->father_occupation,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_occupation')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_occupation')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Designation</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_occupation)): ?>
                                                    <?php echo Form::text('father_occupation',$reg_student->father_occupation,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php echo Form::text('father_designation',null,['class' => 'form-control']); ?>

                                                        <?php if($errors->has('father_designation')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_designation')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Name Of Company</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_company)): ?>
                                                    <?php echo Form::text('father_company',$reg_student->father_company,['class' => 'form-control']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('father_company',null,['class' => 'form-control']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_company')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_company')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Work Location</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_workloc)): ?>
                                                    <?php echo Form::text('father_workloc',$reg_student->father_workloc,['class' => 'form-control']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('father_workloc',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('father_workloc')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_workloc')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Pan No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_panno)): ?>
                                                    <?php echo Form::text('father_panno',$reg_student->father_panno,['class' => 'form-control','maxlength'=>'10','minlength'=>'10','pattern'=>'[A-Za-z]{5}\d{4}[A-Za-z]{1}']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_panno',null,['class' => 'form-control','maxlength'=>'10','minlength'=>'10','pattern'=>'[A-Za-z]{5}\d{4}[A-Za-z]{1}']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('father_panno')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_panno')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Telephone No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_telephone)): ?>
                                                    <?php echo Form::text('father_telephone',$reg_student->father_telephone,['class' => 'form-control']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('father_telephone',null,['class' => 'form-control']); ?>

                                                        <?php endif; ?>
                                                       <?php if($errors->has('father_telephone')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_telephone')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Aadhaar No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_aadhaar)): ?>
                                                    <?php echo Form::text('father_aadhaar',$reg_student->father_aadhaar,['class' => 'form-control']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('father_aadhaar',null,['class' => 'form-control']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_aadhaar')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_aadhaar')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->father_mobile)): ?>
                                                    <?php echo Form::text('father_mobile',$reg_student->father_mobile,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('father_mobile',null,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_mobile')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_mobile')); ?></strong>
                                                        </label>
                                                        <?php 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">Email</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->father_email)): ?>
                                                    <?php echo Form::email('father_email',$reg_student->father_email,['class' => 'form-control']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::email('father_email',null,['class' => 'form-control']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('father_email')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('father_email')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->ralationship_two)): ?>
                                                    <?php echo Form::select('ralationship_two',['Mother'=>'Mother','Father'=>'Father','Guardian'=>'Guardian'],$reg_student->ralationship_two,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::select('ralationship_two',['Mother'=>'Mother','Father'=>'Father','Guardian'=>'Guardian'],null,['class' => 'form-control show-tick ms select2']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('ralationship_two')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('ralationship_two')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->mother_fname)): ?>
                                                    <?php echo Form::text('mother_fname',$reg_student->mother_fname,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_fname',null,['class' => 'form-control','required'=>'required','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('mother_fname')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_fname')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                        <span id="motherfname"></span>
                                                    </div>
                                                </div>
                                                <div class="col-sm-4">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_lname)): ?>
                                                    <?php echo Form::text('mother_lname',$reg_student->mother_lname,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_lname',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('mother_lname')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_lname')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Date Of Birth</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_dob)): ?>
                                                    <?php echo Form::text('mother_dob',$reg_student->mother_dob,['class' => 'form-control datepicker']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_dob',null,['class' => 'form-control datepicker']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('mother_dob')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_dob')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->mother_qualification)): ?>
                                                    <?php echo Form::text('mother_qualification',$reg_student->mother_qualification,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_qualification',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('mother_qualification')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_qualification')); ?></strong>
                                                        </label>
                                                        <?php 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">Occupation</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_occupation)): ?>
                                                    <?php echo Form::text('mother_occupation',$reg_student->mother_occupation,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('mother_occupation')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_occupation')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Designation</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_occupation)): ?>
                                                    <?php echo Form::text('mother_occupation',$reg_student->mother_occupation,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_occupation',null,['class' => 'form-control','style'=>'text-transform:uppercase']); ?>

                                                         <?php endif; ?>
                                                        <?php echo Form::text('mother_designation',null,['class' => 'form-control']); ?>

                                                        <?php if($errors->has('mother_designation')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_designation')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Name Of Company</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_company)): ?>
                                                    <?php echo Form::text('mother_company',$reg_student->mother_company,['class' => 'form-control']); ?>

                                                          <?php else: ?>
                                                        <?php echo Form::text('mother_company',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('mother_company')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_company')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Work Location</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_workloc)): ?>
                                                    <?php echo Form::text('mother_workloc',$reg_student->mother_workloc,['class' => 'form-control']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::text('mother_workloc',null,['class' => 'form-control']); ?>

                                                        <?php endif; ?>
                                                        <?php if($errors->has('mother_workloc')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_workloc')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Pan No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_panno)): ?>
                                                    <?php echo Form::text('mother_panno',$reg_student->mother_panno,['class' => 'form-control','maxlength'=>'10','minlength'=>'10','pattern'=>'[A-Za-z]{5}\d{4}[A-Za-z]{1}']); ?>

                                                         <?php else: ?>
                                                        <?php echo Form::text('mother_panno',null,['class' => 'form-control','maxlength'=>'10','minlength'=>'10','pattern'=>'[A-Za-z]{5}\d{4}[A-Za-z]{1}']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('mother_panno')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_panno')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Telephone No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_telephone)): ?>
                                                    <?php echo Form::text('mother_telephone',$reg_student->mother_telephone,['class' => 'form-control']); ?>

                                                          <?php else: ?>
                                                        <?php echo Form::text('mother_telephone',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('mother_telephone')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_telephone')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-md-3 col-sm-6 form-control-label">
                                                    <label for="classname">Aadhaar No.</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_aadhaar)): ?>
                                                    <?php echo Form::text('mother_aadhaar',$reg_student->mother_aadhaar,['class' => 'form-control']); ?>

                                                          <?php else: ?>
                                                          <?php echo Form::text('mother_aadhaar',null,['class' => 'form-control']); ?>

                                                          <?php endif; ?>
                                                        <?php if($errors->has('mother_aadhaar')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_aadhaar')); ?></strong>
                                                        </label>
                                                        <?php 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">
                                                    <?php if(isset($reg_student->mother_mobile)): ?>
                                                    <?php echo Form::text('mother_mobile',$reg_student->mother_mobile,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                       <?php else: ?>
                                                       <?php echo Form::text('mother_mobile',null,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                       <?php endif; ?>
                                                         <?php if($errors->has('mother_mobile')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_mobile')); ?></strong>
                                                        </label>
                                                        <?php 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">Email</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->mother_email)): ?>
                                                    <?php echo Form::email('mother_email',$reg_student->mother_email,['class' => 'form-control']); ?>

                                                        <?php else: ?>
                                                        <?php echo Form::email('mother_email',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('mother_email')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('mother_email')); ?></strong>
                                                        </label>
                                                        <?php 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="sf5" class="frm" style="display: none;">
                                <fieldset>
                                    <p class="form-control-static" style="font-weight: bold">Emergency Contact Information (Here parent can fill there details)</p>
                                    <div class="row clearfix">
                                        <div class="col-sm-12 col-md-12 col-lg-6">
                                            <div class="row clearfix">
                                                <div class="col-sm-4 form-control-label">
                                                    <label for="classname" class="required">Name of Contact Person</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->contactPerson)): ?>
                                                    <?php echo Form::text('contactPerson',$reg_student->contactPerson,['class' => 'form-control','required'=>'required']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('contactPerson',null,['class' => 'form-control','required'=>'required']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('contactPerson')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('contactPerson')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                        <span id="contactperson"></span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-sm-4 form-control-label">
                                                    <label for="classname">Relationship with the Child </label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->contactPersonRelation)): ?>
                                                    <?php echo Form::text('contactPersonRelation',$reg_student->contactPersonRelation,['class' => 'form-control']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('contactPersonRelation',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('contactPersonRelation')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('contactPersonRelation')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                        <span id="contactpersonrel"></span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-sm-4 form-control-label">
                                                    <label for="classname">Telephone</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->contactPersonTel)): ?>
                                                    <?php echo Form::text('contactPersonTel',$reg_student->contactPersonTel,['class' => 'form-control']); ?>

                                                          <?php else: ?>
                                                          <?php echo Form::text('contactPersonTel',null,['class' => 'form-control']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('contactPersonTel')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('contactPersonTel')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row clearfix">
                                                <div class="col-sm-4 form-control-label">
                                                    <label for="classname" class="required">Mobile</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->contactPersonMobile)): ?>
                                                    <?php echo Form::text('contactPersonMobile',$reg_student->contactPersonMobile,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                         <?php else: ?>
                                                         <?php echo Form::text('contactPersonMobile',null,['class' => 'form-control','required'=>'required','maxlength'=>'10','minlength'=>'10','onkeypress'=>'return isNumber(event)']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('contactPersonMobile')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('contactPersonMobile')); ?></strong>
                                                        </label>
                                                        <?php endif; ?>
                                                        <span id="contactpersonmobile"></span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-12 col-md-12 col-lg-6">
                                            <div class="row clearfix">
                                                <div class="col-sm-4 form-control-label">
                                                    <label for="classname">Address of Contact Person</label>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                    <?php if(isset($reg_student->contactPersonAddress)): ?>
                                                    <?php echo Form::textarea('contactPersonAddress',$reg_student->contactPersonAddress,['class' => 'form-control','size'=>'30x2']); ?>

                                                          <?php else: ?>
                                                        <?php echo Form::textarea('contactPersonAddress',null,['class' => 'form-control','size'=>'30x2']); ?>

                                                         <?php endif; ?>
                                                        <?php if($errors->has('contactPersonAddress')): ?>
                                                        <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                            <strong><?php echo e($errors->first('contactPersonAddress')); ?></strong>
                                                        </label>
                                                        <?php 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 back5 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="next5">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-sm-8 form-control-label">
                                            <label for="classname">Do You require food service facility for your child.?</label>
                                        </div>
                                        <div class="col-sm-4">
                                            <div class="form-group">
                                                <div class="inlineblock m-r-20">
                                                    <input name="food" class="with-gap" type="radio" value="Y">
                                                    <label for="Yes">Yes</label>
                                                </div>                                
                                                <div class="inlineblock">
                                                    <input name="food" class="with-gap"  type="radio" checked="N" value="N">
                                                    <label for="No">No</label>
                                                </div>
                                                <?php if($errors->has('food')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('lastSchool')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="fooderror"></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" 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" checked="N" value="N" <?php if($reg_student->transport == 'N') echo 'checked';?>>
                                                    <label for="No">No</label>
                                                </div>
                                                <?php if($errors->has('transport')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('transport')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="transporterror"></span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-sm-8 form-control-label">
                                            <label for="classname">Has your child identified with any learning disability.?</label>
                                        </div>
                                        <div class="col-md-2 col-sm-5">
                                            <div class="form-group">
                                                <div class="inlineblock m-r-20">
                                                    <input name="learningDisability" class="with-gap" type="radio" value="Y" <?php if($reg_student->learningDisability == 'Y') echo 'checked';?>>
                                                    <label for="Yes">Yes</label>
                                                </div>                                
                                                <div class="inlineblock">
                                                    <input name="learningDisability" class="with-gap"  type="radio" checked="N" value="N" <?php if($reg_student->learningDisability == 'Y') echo 'checked';?>>
                                                    <label for="No">No</label>
                                                </div>
                                                <?php if($errors->has('learningDisability')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('learningDisability')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                                <span id="learningDerror"></span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row clearfix">
                                        <div class="col-sm-8 form-control-label">
                                            <label for="classname">Please specify any requirement if any.?</label>
                                        </div>
                                        <div class="col-md-2 col-sm-5">
                                            <div class="form-group">
                                            <?php if(isset($reg_student->otherRequirement)): ?>
                                            <?php echo Form::textarea('otherRequirement',$reg_student->otherRequirement,['class' => 'form-control','size'=>'30x2','Placeholder'=>'Other Requirement']); ?> 
                                            <?php else: ?>
                                            <?php echo Form::textarea('otherRequirement',null,['class' => 'form-control','size'=>'30x2','Placeholder'=>'Other Requirement']); ?>

                                             <?php endif; ?>
                                                        
                                                <?php if($errors->has('otherRequirement')): ?>
                                                <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                    <strong><?php echo e($errors->first('otherRequirement')); ?></strong>
                                                </label>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                </fieldset>
                                <fieldset>
                                    <p class="form-control-static" style="font-weight: bold">Details of Child's Sibling</p>
                                    <div class="body table-responsive">
                                        <table class="table">
                                            <thead>
                                                <tr>
                                                    <th>S.NO.</th>
                                                    <th>First Name</th>
                                                    <th>Last Name</th>
                                                    <th>Age</th>
                                                    <th>Education</th>
                                                    <th>Name Of the School</th>
                                                </tr>
                                            </thead>
                                            <tbody  id="optional_list">
                                                <?php $tb = 1;?>
                                                <?php if(isset($siblings)): ?>
                                                    <?php if(count($siblings) > 0): ?>
                                                        <?php $__currentLoopData = $siblings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sibling): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <tr>
                                                            <td class="sno"><?php echo e($tb); ?></td>
                                                            <td>
                                                                <input class="form-control" type="hidden"  name = "siblings[<?php echo e($tb); ?>][id]" value="<?php echo e($sibling->idRegSibling); ?>">
                                                                <input class="form-control" type="text"  name = "siblings[<?php echo e($tb); ?>][fName]" value="<?php if(isset($sibling->fName)) echo $sibling->fName;?>">
                                                            </td>
                                                            <td>
                                                                <input class="form-control" type="text"  name = "siblings[<?php echo e($tb); ?>][lName]" value="<?php if(isset($sibling->lName)) echo $sibling->lName;?>">
                                                            </td>
                                                            <td>
                                                                <input class="form-control" type="text"   name = "siblings[<?php echo e($tb); ?>][age]" value="<?php if(isset($sibling->age)) echo $sibling->age;?>">
                                                            </td>
                                                            <td>
                                                                <input class="form-control" type="text"   name = "siblings[<?php echo e($tb); ?>][education]" value="<?php if(isset($sibling->education)) echo $sibling->education;?>">
                                                            </td>
                                                            <td>
                                                                <input class="form-control" type="text" name = "siblings[<?php echo e($tb); ?>][schoolName]" value="<?php if(isset($sibling->schoolName)) echo $sibling->schoolName;?>">
                                                            </td>
                                                        </tr>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    <?php endif; ?>
                                                <?php endif; ?>
                                            </tbody>
                                            <tr>
                                                <td colspan="3" style="text-align: right"><input type="button" class="add-row btn btn-sm btn-danger" value="Add Row"></td>
                                            </tr>
                                        </table>
                                    </div>
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">Photo</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <input type="hidden" name="registrationNo" value="<?php echo e($reg_student->registrationNo); ?>">
                                                    <?php echo Form::file('photo',null,['class' => 'form-control']); ?>

                                                    <?php if($errors->has('photo')): ?>
                                                    <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                        <strong><?php echo e($errors->first('photo')); ?></strong>
                                                    </label>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div> 
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">Aadhhar/Birth Certificate</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <?php echo Form::file('aadharCopy',null,['class' => 'form-control']); ?>

                                                    <?php if($errors->has('aadharCopy')): ?>
                                                    <label id="minmaxlength-error" class="error" for="minmaxlength">
                                                        <strong><?php echo e($errors->first('aadharCopy')); ?></strong>
                                                    </label>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">Mark Sheet of last year</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <?php echo Form::file('marksheet',null,['class' => 'form-control']); ?>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">Migration Certificate</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <?php echo Form::file('migrationCertificate',null,['class' => 'form-control']); ?>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">School leaving Certificate(SLC)</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <?php echo Form::file('slc',null,['class' => 'form-control']); ?>

                                                </div>
                                            </div>
                                        </div>
                                        <div class="row clearfix">
                                            <div class="col-sm-5 form-control-label">
                                                <label for="classname">Parent photographs</label>
                                            </div>
                                            <div class="col-sm-6">
                                                <div class="form-group">
                                                    <?php echo Form::file('otherdoc',null,['class' => 'form-control']); ?>

                                                </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 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 -->
        <?php echo $__env->make('layouts.partial.script', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <script>
            $('.datepickerdob').datepicker({
                autoclose: true,
                autoWidth: false,
                format: 'dd-mm-yyyy',
                endDate: '+0d',
                orientation: 'auto'
            });
            $(document).ready(function () {
                var i = 0;
                <?php if(isset($siblings)): ?>
                <?php if(count($siblings) > 0): ?>
                i = <?php echo e(count($siblings)); ?>;
                <?php endif; ?>
                <?php endif; ?>
                $(".add-row").click(function(){
                    i++;  
                    var markup = '<tr><td class="sno">'+i+'</td>\
                            <td><input class="form-control" type="text" name="siblings['+i+'][fName]" autocomplete="off"></td>\n\
                            <td><input class="form-control" type="text" name="siblings['+i+'][lName]" autocomplete="off"></td>\n\
                            <td><input class="form-control" name="siblings['+i+'][age]"></td>\n\
                            <td><input class="form-control" name="siblings['+i+'][education]"></td>\n\
                            <td><input class="form-control" name="siblings['+i+'][schoolName]"></td>\n\
                            <td style="text-align:right;vertical-align: middle;"><input type="button" required="required" class="btn btn-sm btn-danger" value="Delete" id="remove_row"></td></tr>';
                        $("#optional_list").append(markup);
                });
                $('#optional_list').on('click', 'input[type="button"]', function () {
                    $(this).closest('tr').remove();
                    i = $('.sno:last').text();
                    
                });
                //Add Input field if others is selecyted
                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");
                        $("#sf3").show("slow");
                        $("#progressbar li#third").addClass("active");
                    }
                });
                $("#next3").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");
                        $("#sf5").show("slow");
                        $("#progressbar li#fifth").addClass("active");
                    }
                });
                $("#next5").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");
                });

                $(".back3").click(function () {
                    $(".frm").hide("fast");
                    $("#sf2").show("slow");
                    $("#progressbar li#third").removeClass("active");
                });
                $(".back4").click(function () {
                    $(".frm").hide("fast");
                    $("#sf3").show("slow");
                    $("#progressbar li#fourth").removeClass("active");
                });
                $(".back5").click(function () {
                    $(".frm").hide("fast");
                    $("#sf4").show("slow");
                    $("#progressbar li#fifth").removeClass("active");
                });
                $(".back6").click(function () {
                    $(".frm").hide("fast");
                    $("#sf5").show("slow");
                    $("#progressbar li#sixth").removeClass("active");
                });
            });
            </script>
    </body>
</html>

Copyright © 2021 - 2025 IMMREX7