Current Events

NEED TO REACH US?

Spread The Love
Contact OK WASSUP!

Name *
Email *
Subject *
Message *

Image Verification
captcha

Please enter the text from the image:

[Refresh Image] [What’s This?]

Powered byEMF Online Form

Report Abuse

//0 && form_obj.attr(‘action’).indexOf(‘#’)==-1 && window.location.hash){
form_obj.attr(‘action’, form_obj.attr(‘action’)+window.location.hash);
}

init_rules();

emf_session_timeout_warner.set_timers();

force_session_for_submit_form();

});

var emf_widgets={text :
function(index){
return $(“#element_”+index).val();
}
,number :
function(index){
return $(“#element_”+index).val();
}
,textarea :
function(index){
return $(“#element_”+index).val();
}
,checkbox :
function(index){
var arr=new Array();
$(“input[name=’element_”+index+”[]’]:checked”).each(function(){
arr[arr.length]=this.value;
});
var result=arr.join(“, “);
return result;
}
,radio :
function(index){
var result=””;
$(“input[name=element_”+index+”]:checked”).each(function(){
result=this.value;
});
return result;
}
,select :
function(index){
return $(“#element_”+index).val();
}
,email :
function(index){
return $(“#element_”+index).val();
}
,phone :
function(index){
var arr=new Array();
$(“input[id^=element_”+index+”_]”).each(function(){
arr[arr.length]=this.value;
});

var result=””;
if(arr.length>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={5 :
function(field_value, value){
return field_value==value;
}
,6 :
function(field_value, value){
return field_value!=value;
}
,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;
}
,7 :
function(field_value, value){
return field_value==value;
}
,8 :
function(field_value, value){
return parseFloat(field_value)>parseFloat(value);
}
,9 :
function(field_value, value){
return parseFloat(field_value) < parseFloat(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; } ,12 : 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=[];

var emf_cart=null;
var emf_page_info={current_page_index: 0, page_element_index_min: 0, page_element_index_max: 3};
//]]>

0 0 votes
Article Rating

DJ

DJ is the creator and editor of OK WASSUP! He is also a Guest Writer/Blogger, Professional and Motivational Speaker, Producer, Music Consultant, and Media Contributor. New York, New York USA

Related Articles

Subscribe
Notify of
guest
0 Comments
oldest
newest most voted
Inline Feedbacks
View all comments
Back to top button
0
Would love your thoughts, please comment.x
()
x