function check_max_sub_game(id) {
var selected_ids = "#"+id+" option:selected";
var unselected_ids = "#"+id+" option";
var val= $(selected_ids).length;
var event_id = $("#event_id").val();
var get_game_id = id.split("sub_");
var game_id = $("#"+get_game_id[1]).val();
var min_val = 1;
$("#other_"+id).hide();
$(".other_"+id).removeAttr('required','false');
if(game_id != '' && event_id !=''){
$.get("https://www.sbkf.in/Web/check_max_sub_game/"+game_id+'/'+event_id, function(data) {
if(data){
var min_val = data;
}else{
var min_val = data;
}
if(val>=min_val){
$(unselected_ids).attr('disabled','disabled');
$(selected_ids).removeAttr('disabled','disabled');
}else{
$(unselected_ids).removeAttr('disabled','disabled');
}
});
}
$(selected_ids).each(function(){
var $this = $(this);
var selText = $this.text();
if(selText=='Other'){
$("#other_"+id).show();
$(".other_"+id).attr('required','true');
}else{
$("#other_"+id).hide();
$(".other_"+id).removeAttr('required','false');
}
});
}
function ajax_check_max_sub_game(id) {
var selected_ids = "#"+id+" option:selected";
var unselected_ids = "#"+id+" option";
var val= $(selected_ids).length;
var event_id = $("#event_id").val();
var get_game_id = id.split("sub_");
var game_id = $("#"+get_game_id[1]).val();
var min_val = 1;
$("#other_"+id).hide();
$(".other_"+id).removeAttr('required','false');
if(game_id != '' && event_id !=''){
if(val>=min_val){
$(unselected_ids).attr('disabled','disabled');
$(selected_ids).removeAttr('disabled','disabled');
}else{
$(unselected_ids).removeAttr('disabled','disabled');
}
}
$(selected_ids).each(function(){
var $this = $(this);
var selText = $this.text();
if(selText=='Other'){
$("#other_"+id).show();
$(".other_"+id).attr('required','true');
}else{
$("#other_"+id).hide();
$(".other_"+id).removeAttr('required','false');
}
});
}
function add_more_option() {
$('#add_event').show();
var event_id = $("#event_id").val();
var games_selected1 = $("#games_selected").val();
var type = 'Official';
var option_id = $('#counter').val();
option_id++;
$('#counter').val(option_id);
var option_id = $('#counter').val();
if(option_id==5){
$("#extra_event_btn").hide();
}else{
$("#extra_event_btn").show();
}
$.post("https://www.sbkf.in/Web/ajax_append_games/"+event_id,{'games_selected': games_selected1,'option_id': option_id,'type':type}, function(data) {
$("#game_panel").append(data);
$('.js-example-basic-multiple').select2({
placeholder: 'Select Sub-Game'
});
$('.js-example-basic-multiple-game').select2({
placeholder: 'Select Games/Events'
});
});
}
function show_age_field(id) {
$("#div_age_game"+id).show();
$("#age_game"+id).attr('required','true');
}
function removegamelist(counter) {
$("#gamelist" + counter).remove();
var counters = $('#counter').val();
var counters = counters - 1;
$('#counter').val(counters);
if(counters==5){
$("#extra_event_btn").hide();
}else{
$("#extra_event_btn").show();
}
}
function check_refer_code() {
$('#referred_by').val($('#referred_by').val().replace(' ', ''));
var referred_by = $('#referred_by').val();
$.post("https://www.sbkf.in/Web/check_refer_code", {
'ref_code': referred_by
}).done(function(data) {
if(data == 0 && referred_by != "") {
$("#err_refercode_msg").html("Invalid referral code- try again or If you don’t have do not fill this.");
return false;
} else {
$("#err_refercode_msg").html('');
return true;
}
});
}
We accept following cards
I have carefully read & I agree and I accept, the following terms and conditions set forth herein:-
I hereby agree that all information given by me in the above form is correct, true and legal to best of my knowledge.
I acknowledge that my name, age, signature, date of birth, photo, identity proof and address & documents etc. which is provided in the form is all correct & legal, the same will be used for Organizational Documentation like Identity Card, Certificate etc.
I also accept that, the SBKF/ISO has the right to use the data/information provided by me in the legal manner.
I also accept that the information provided by me cannot be altered/changed once submitted.
In case of any contravention upon the submitted information, I will be held liable for further consequences if any.
I declare that no other information is hidden by me.
I agree to all terms and conditions which is provided on the website of SBKF/ISO.
I have carefully read & I agree and I accept, the following terms and conditions set forth herein:-
I hereby agree that all information given by me in the above form is correct, true and legal to best of my knowledge.
I acknowledge that my name, age, signature, date of birth, photo, identity proof and address & documents etc. which is provided in the form is all correct & legal, the same will be used for Organizational Documentation like Identity Card, Certificate etc.
I also accept that, the SBKF/ISO has the right to use the data/information provided by me in the legal manner.
I also accept that the information provided by me cannot be altered/changed once submitted.
In case of any contravention upon the submitted information, I will be held liable for further consequences if any.
I declare that no other information is hidden by me.
I agree to all terms and conditions which is provided on the website of SBKF/ISO.
I have carefully read & I agree and I accept, the following terms and conditions set forth herein:-
I hereby agree that all information given by me in the above form is correct, true and legal to best of my knowledge.
I acknowledge that my name, age, signature, date of birth, photo, identity proof and address & documents etc. which is provided in the form is all correct & legal, the same will be used for Organizational Documentation like Identity Card, Certificate etc.
I also accept that, the SBKF/ISO has the right to use the data/information provided by me in the legal manner.
I also accept that the information provided by me cannot be altered/changed once submitted.
In case of any contravention upon the submitted information, I will be held liable for further consequences if any.
I declare that no other information is hidden by me.
I agree to all terms and conditions which is provided on the website of SBKF/ISO.
I have carefully read & I agree and I accept, the following terms and conditions set forth herein:-
I hereby agree that all information given by me in the above form is correct, true and legal to best of my knowledge.
I acknowledge that my name, age, signature, date of birth, photo, identity proof and address & documents etc. which is provided in the form is all correct & legal, the same will be used for Organizational Documentation like Identity Card, Certificate etc.
I also accept that, the SBKF/ISO has the right to use the data/information provided by me in the legal manner.
I also accept that the information provided by me cannot be altered/changed once submitted.
In case of any contravention upon the submitted information, I will be held liable for further consequences if any.
I declare that no other information is hidden by me.
I agree to all terms and conditions which is provided on the website of SBKF/ISO.