RSS

Contact

    • Your Name *
    • Your Email *
    • Subject *

       

    • Your Message *
  •  

// 0){
result=arr.join(“-“);
}else{
result=$(“#element_”+index).val();
}
return result;
}
,datetime :
function(index){
var result=””;

var date_part=””;
if($(“#element_”+index+”_year”).length==1){
date_part=$(“#element_”+index+”_year-mm”).val()+”/”+$(“#element_”+index+”_year-dd”).val()+”/”+$(“#element_”+index+”_year”).val();
}

var time_part=””;
if($(“#element_”+index+”_hour”).length==1){
time_part=$(“#element_”+index+”_hour”).val()+”:”+$(“#element_”+index+”_minute”).val()+” “+$(“#element_”+index+”_ampm”).val();
}

if(date_part && time_part){
result=date_part+” “+time_part;
}else{
result=date_part ? date_part : time_part;
}

return result;
}
,url :
function(index){
return $(“#element_”+index).val();
}
,file :
function(index){
return $(“#element_”+index).val();
}
,select_multiple :
function(index){
return $(“#element_”+index).val();
}
,price :
function(index){
var result=””;
var arr=new Array();
$(“input[id^=element_”+index+”_]”).each(function(){
arr[arr.length]=this.value;
});
result=arr.join(“.”);
return result;
}
,hidden :
function(index){
return $(“#element_”+index).val();
}
,section_break :
function(index){
return “”;
}
,page_break :
function(index){
return “”;
}
,deprecated :
function(index){
return $(“#element_”+index).val();
}
,address :
function(index){
var result=””;
var element_arr=$(“input,select”).filter(“[name=’element_”+index+”[]’]”).toArray();
result=element_arr[0].value+” “+element_arr[1].value+”n”
+element_arr[2].value+”,”+element_arr[3].value+” “+element_arr[4].value+”n”
+element_arr[5].value
return result;
}
,name :
function(index){
var arr=new Array();
$(“input[id^=element_”+index+”_]”).each(function(){
arr[arr.length]=this.value;
});
var result=arr.join(” “);
return result;
}
};

var emf_condition_id_to_js_map={1 :
function(field_value, value){
return field_value.indexOf(value)>-1;
}
,2 :
function(field_value, value){
return field_value.indexOf(value)==-1;
}
,3 :
function(field_value, value){
return field_value.indexOf(value)==0;
}
,4 :
function(field_value, value){
return field_value.indexOf(value)==field_value.length-value.length;
}
,5 :
function(field_value, value){
return field_value==value;
}
,6 :
function(field_value, value){
return field_value!=value;
}
,7 :
function(field_value, value){
return field_value==value;
}
,8 :
function(field_value, value){
return field_value>value;
}
,9 :
function(field_value, value){
return field_value<value;
}
,10 :
function(field_value, value){
var date_for_field_value=Date.parse(field_value);
var date_for_value=Date.parse(value);
if(date_for_field_value && date_for_value){
return date_for_field_value == date_for_value;
}
return false;
}
,11 :
function(field_value, value){
var date_for_field_value=Date.parse(field_value);
var date_for_value=Date.parse(value);
if(date_for_field_value && date_for_value){
return date_for_field_value date_for_value;
}
return false;
}
};
var emf_group_to_field_rules_map=[];
var emf_group_to_page_rules_for_confirmation_map=[];
// ]]>

Iklan
 

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: