{!! Form::select('sections',getSectionAndClassPluck(), null, array('id' => 'sections', 'class' => 'form-control select2','required','onchange'=> (school('country')->code != 'SG' ? 'getStudentsBySection(this.value,1)' : 'getStudentsByRSSection(this.value,1,"r_status")' ),'placeholder' =>trans('Choose'))) !!}
@error('sections')
{{ $message }}
@enderror
@if(school('country')->code == 'SG')
{!! Form::select('r_status',residentstatus(), null, array('id' => 'r_status', 'class' => 'form-control','required','placeholder'=>transMsg('Choose'),'onchange'=> 'getStudentsBySectionRS(this.value,1,"sections")')) !!}
@error('r_status')
{{ $message }}
@enderror
@endif
{!! Form::select('student[]',array(), null, array('id' => 'student', 'class' => 'form-control select2','required','multiple')) !!}
@error('student')
{{ $message }}
@enderror
{!! Form::selectRange('cycle', 1,12,null, array('id' => 'cycle', 'class' => 'form-control')) !!}
@error('cycle')
{{ $message }}
@enderror