Contact Me

.main_container_form
{
display: inline-block !important;
width: 100% !important;
}
.cb_form_wrapper
{
overflow: inherit;
margin: 10px 0;
max-width: 98%
}
.label_control
{
font-family: inherit !important;
color: #000000 !important;
font-weight: normal !important;
float: none !important;
text-align: left !important;
font-size: 16px !important;
display: inline-block !important;
direction: inherit !important;
}
.input_control
{

font-family: inherit !important;
color: #000000 !important;
font-weight: normal !important;
background-color: #ffffff !important;
font-size: 14px !important;
border: 1px solid#e5e5e5 !important;
border-radius: 0px !important;
-moz-border-radius: 0px !important;
-webkit-border-radius: 0px !important;
-khtml-border-radius: 0px !important;
-o-border-radius: 0px !important;
text-align: left !important;
direction: inherit !important;
min-width:250px;
max-width:500px;
}
.layout_according_label_position
{
margin-left: 0px !important;
}
.field_description
{
display:block !important;
font-family: inherit !important;
font-style: italic !important;
color: #000000 !important;
font-weight: normal !important;
font-size: 11px !important;
text-align: left !important;
}
.btn_submit
{
font-weight: normal !important;
padding: 12px 25px !important;
background-color: #3A3C41 !important;
font-size: 14px !important;
color: #FFF !important;
font-weight: 700 !important;
border: medium none !important;
cursor: pointer;
letter-spacing: 1px !important;
border: medium none !important;
background-color: #333333 !important;
color: #FFF !important;
}
.btn_submit:hover
{
background-color: #999999 !important;
}
.success_message
{

background-color: #e5ffd5 !important;
border: 2px Solid #e5ffd5 !important;
color: #6aa500 !important;
text-align: left !important;
direction: inherit !important;
background: url(http://selfevolve.co/wp-content/plugins/contact-bank/assets/images/icons/icon-succes.png) no-repeat 1px 8px #EBF9E2;
}
.sucess_message_text
{
font-family: inherit !important;
font-size: 12px !important;
}
label.error_field
{
font-family: inherit !important;
font-size: 12px !important;
background-color: #ffcaca !important;
border: 2px Solid #ffcaca !important;
color: #ff2c38 !important;
text-align: left !important;
direction: inherit !important;
}

Your Name *

Your Email *

Subject

Your Message

Submit

var ajaxurl = “http://selfevolve.co/wp-admin/admin-ajax.php”;
jQuery.extend(jQuery.validator.messages, {
required: “Required field must not be blank”,
email: “Please enter a valid email address”
});

function base64_encode_contact_bank(data)
{
var b64 = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=’;
var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,
ac = 0,
enc = ”,
tmp_arr = [];
if (!data)
{
return data;
}
do
{
o1 = data.charCodeAt(i++);
o2 = data.charCodeAt(i++);
o3 = data.charCodeAt(i++);
bits = o1 << 16 | o2 <> 18 & 0x3f;
h2 = bits >> 12 & 0x3f;
h3 = bits >> 6 & 0x3f;
h4 = bits & 0x3f;
tmp_arr[ac++] = b64.charAt(h1) + b64.charAt(h2) + b64.charAt(h3) + b64.charAt(h4);
}
while (i < data.length);
enc = tmp_arr.join('');
var r = data.length % 3;
return (r ? enc.slice(0, r – 3) : enc) + '==='.slice(r || 3);
}

jQuery("#ux_frm_front_end_form_1_7508").validate
({
rules:
{
ux_txt_control_1_7508:{ required :true },ux_txt_email_2_7508:{ required :true,email :true }, },
errorPlacement: function(error, element)
{
if(element.attr("type") === "time" || element.attr("type") === "date")
{
element.parent().parent().children("label").remove(".error_field");
error.insertAfter(element.parent());
}
else
{
error.insertAfter(element.parent());
}
},
submitHandler: function(form)
{

jQuery("body,html").animate({
scrollTop: jQuery("body,html").position().top}, "slow");
jQuery("#form_success_message_frontend_7508").css("display","block");
var form_id = "1";
jQuery.post(ajaxurl,
{
data: base64_encode_contact_bank(jQuery(form).serialize()),
form_id: form_id,
rand: "7508",
param: "frontend_submit_controls",
action: "frontend_contact_form_library"
},
function(data)
{
jQuery.post(ajaxurl, "form_id="+form_id+"&submit_id="+data+"&param=email_management&action=email_management_contact_form_library", function(data)
{
setTimeout(function()
{
jQuery("#form_success_message_frontend_7508").css("display","none");
window.location.href = "http://selfevolve.co/?page_id=423&quot;;
}, 2000);
});
});
}
});

(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’https://www.google-analytics.com/analytics.js&#8217;,’ga’);

ga(‘create’, ‘UA-11319907-2’, ‘auto’);
ga(‘send’, ‘pageview’);

Contact Me was originally published on Self Evolve

Advertisements