Sindbad~EG File Manager
@extends('layout_arc')
@section('title')
<title> ARC LDP </title>
@stop
@section('scriptTop')
{{ HTML::script('/js/ajaxloader.js') }}
{{ HTML::script('/js/jquery.validate.js') }}
{{ HTML::script('/js/jquery.common.js') }}
{{ HTML::script('/js/custom.js') }}
@stop
@section('scriptBottom')
<script type="text/javascript">
var hdnId = "#hdnId";
var hdnStep = "#hdnStep";
var hdnIsNext = "#hdnIsNext";
$(document).ready(function () {
validation();
});
function validation()
{
if($(hdnStep).val() == 1)
{
$("#form_s1").validate(
{
ignore: "",
rules: {
rbtn1:{
required:true
},
rbtn2:{
required:true
},
rbtn3:{
required:true
},
rbtn4:{
required:true
},
},
// messages:{
// hdnPAId :"Please, search and select an Presenting Author Details"
// }
});
}
}
function Move(step,nextprevious)
{
if(nextprevious == 1)
{
validation();
if(!$("#form_s"+ step).valid())
{
return false;
}
if(step == 1)
{
// if($("input[name=rbtn1]:checked").val() == 1 && $("input[name=rbtn2]:checked").val() == 1 && $("input[name=rbtn3]:checked").val() == 1 && $("input[name=rbtn4]:checked").val() == 1)
if($("input[name=rbtn1]:checked").val() == 1 && $("input[name=rbtn2]:checked").val() == 1 && $("input[name=rbtn4]:checked").val() == 1)
{
var cfm = confirm("By clicking yes, your application for the LDP program shall be sent to the Academic & Research Committee of AIOS.");
if(!cfm)
{
return false;
}
}
else
{
alert("If any of the options are marked as “No” , you are not eligible to participate in the ARC LDP program");
return false;
}
}
}
// now do whatever you want here
$.ajax({
type: 'POST', // <-- get method of form
url: $("#form_s"+ step).attr('action'), // <-- get action of form
data: $("#form_s"+ step).serialize(), // <-- serialize all fields into a string that is ready to be posted to your PHP file
dataType: 'json',
beforeSend: function(){
ShowProgress();
},
success: function(data){
if(data.code == 1)
{
$('#frm').html(data.data);
}
else
{
errormsg(data.msg);
}
StopProgress();
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
//location.reload();
}
});
return false;
}
</script>
@stop
@section('content')
@section('ContentTitle')
AIOS ARC LDP 2022-23 Submission form
@stop
<!-- <div class="message info"> ATLEAST ONE OF THE AUTHORS (PRESENTING AUTHOR / CO-AUTHOR) SHOULD BE A RATIFIED {{ CustomClass::$Initial }} MEMBER TO SUBMIT A FREE PAPER OR ELECTRONIC POSTER OR PHYSICAL POSTER.
</div> -->
<div id="frm">
@include('arcldp.step1')
</div>
@stop
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists