Sindbad~EG File Manager
<script type="text/javascript">
$(function () {
var limit = 100;
$('textarea[id$=txtTitle]').keyup(function () {
var len = $(this).val().length;
if (len > limit) {
// this.value = this.value.substring(0, limit);
}
$("#spnTitle").text(limit - $(this).val().length);
});
});
$(function () {
var limit = 1000;
$('textarea[id$=txtSynopsis]').keyup(function () {
var len = $(this).val().length;
if (len > limit) {
// this.value = this.value.substring(0, limit);
}
$("#spnSynopsis").text(limit - $(this).val().length);
});
});
$(function () {
var limit = 600;
$("#spnResume").text($("#txtResume").val().length + " characters.");
$('textarea[id$=txtResume]').keyup(function () {
var len = $(this).val().length;
if (len > limit) {
//this.value = this.value.substring(0, limit);
}
if(limit < $(this).val().length)
{
$("#spnResume").addClass("red");
$("#spnResume").removeClass("blue");
$("#spnResume").text($(this).val().length + " characters. (Exceeded the limit. Shorten your resume)");
}
else
{
$("#spnResume").addClass("blue");
$("#spnResume").removeClass("red");
$("#spnResume").text($(this).val().length + " characters.");
}
});
});
</script>
{{ Form::open(array('url' => 'ic/store','role'=>'form','id'=>'form_s2')) }}
{{ Form::hidden('hdnId', isset($ic)? $ic->abs_id : 0,array('id'=>'hdnId')) }}
{{ Form::hidden('hdnStep', '2',array('id'=>'hdnStep')) }}
{{ Form::hidden('hdnIsNext', '1',array('id'=>'hdnIsNext')) }}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="alert alert-success" style="display:none">
</div>
<div class="alert alert-danger" style="display:none">
</div>
</div>
</div>
<div class="message info">
It is highly encouraged not to repeat the courses which was selected and delivered in the previous {{CustomClass::$ConferenceInitial }}s. Chances of selection of courses are high if new topics and new instructors are involved in your course.
</div>
<div class="col-lg-12 col-md-12 col-sm-12 nopadding margin10">
<div class="step completedstep">STEP 1 </div>
<div class="step activestep">STEP 2 </div>
<div class="step">STEP 3 </div>
<div class="step">STEP 4 </div>
</div>
{{-- <div class="spacer"></div> --}}
<!--step 2 details -->
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<label>Title of the Course (not exceeding 100 characters) <sup>*</sup> <span id="spnTitle" class="red">100</span> characters left. </label>
{{ Form::textarea('txtTitle',$ic->title,array('class' => '', 'id' => 'txtTitle' , 'placeholder' => 'Title','rows' => 2)) }}
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<label>Synopsis (not exceeding 1000 characters) <sup>*</sup> <span id="spnSynopsis" class="red">1000</span> characters left. </label>
{{ Form::textarea('txtSynopsis',$ic->synopsis,array('class' => '', 'id' => 'txtSynopsis' , 'placeholder' => 'Synopsis')) }}
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<label> Brief "RESUME" of the chief instructor (not to reveal the identity) with relevance to the topic of this IC & (not exceeding 600 characters) <sup>*</sup>
<span class="red"> ("DO NOT REVEAL ANY PERSONAL INFORMATION ABOUT YOURSELF / HOSPITAL. IF ANY PERSONAL INFORMATION IS FOUND YOUR IC WILL BE REJECTED WITHOUT FURTHER NOTIFICATION.)
</span>
<br/>
</label>
<span id="spnResume" class="blue">600 characters. </span>
{{ Form::textarea('txtResume',$ic->resume,array('class' => '', 'id' => 'txtResume' , 'placeholder' => 'Resume')) }}
</div>
</div>
<!--End step 2 details -->
<div class="row margin30">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input type="button" value="Previous" id ="btnPrevious_s2" class="btn primary button-large"
onclick="Move(2,0)">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input type="button" value="Next" id ="btnNext_s2" class="btn primary button-large pull-right"
onclick="Move(2,1)">
</div>
</div>
{{ Form::close() }}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists