November 8th, 2017

You Are Enough Day Retreat for Women

Please use this form to request more information about the You Are Enough Day Retreat for Women, presented by Danielle Bean:

jQuery(document).ready(function($) { jQuery(“#preloader-norkgc”).fadeOut(1500, function () { jQuery(“#ecf-form-norkgc”).fadeIn(300); }); $( ‘.ladda-button’ ).ladda( ‘bind’ ); $(function() { // Validation $(“#form-norkgc”).validate( { // Rules for form validation rules: { name0:{required: true},email1:{required: true,email: true},paragraph2:{required: false},text3:{required: true},message4:{required: false,minlength: 10}, }, // Messages for form validation messages: { name0:{required: “This field is required”},email1:{required: “This field is required”},paragraph2:{required: “This field is required”},text3:{required: “This field is required”},message4:{required: “This field is required”} },
// Do not change code below
errorPlacement: function(error, element) {
error.insertAfter(element.parent());
},

submitHandler: function (form) {
ecf_onsubmit(jQuery(‘.form-norkgc’));

},

invalidHandler: function (form) {
$.ladda( ‘stopAll’ );
},

onkeyup: false,
onfocusout: false,
onclick: false

});
});

/* Form Submit ( Ajax ) */
function ecf_onsubmit(form){

if(form.attr(‘action’)==’#’){

data = {};
eldat = [];
data[‘action’] = ‘ecf_deliver_mail’;
data[‘formid’] = ‘8238’;
data[‘security’] = ’79fb67f2a1′;

jQuery(‘input, textarea’, form).each(function(key){

items = {};

if (typeof $(this).data(‘type’) === ‘undefined’) { return true; }

items[‘type’] = $(this).data(‘type’);
items[‘label’] = $(this).data(‘label’);
items[‘value’] = this.value;
items[‘name’] = this.name;

eldat.push(items);

}); // END form).each(function(key){

data[‘allelmnt’] = JSON.stringify(eldat);

submitForm();

return false;

} // End if(form.attr(‘action’)==’#’){

} // End ecf_onsubmit

// Start submitForm
function submitForm() {

jQuery.ajax({
url: ‘http://daniellebean.com/wp-admin/admin-ajax.php’,
type: ‘POST’,
dataType: ‘json’,
data: data,
success: function(data) {

if(data.Ok==true) {
// success
$(“#form-norkgc”).get(0).reset();

if(data.msg == ‘redirect’) {
window.location = “http://”;
} else {
notifyme(‘Your Message Submitted Successfully’, ‘n’, ‘success’, ‘left middle’);
}

}
else {
$(“#form-norkgc”).get(0).reset();
notifyme(data.msg, ‘n’, ‘error’, ‘left middle’);
}

$.ladda( ‘stopAll’ );

}
});

} // End submitForm

// Notify
function notifyme(msg, b, typ, pos) {
if (b == ‘n’) {
b = ‘cf-submittednorkgc’;
} else {
b = ‘atcnorkgc’;
}

$(“#”+b).gnotify(msg,{
style: “nbootstrap”,
elementPosition: pos,
className: typ
});

msg = null;
typ = null;

}

});

You Are Enough Retreat Inquiry
Name (requesting You Are Enough retreat info)EmailOrganization (if applicable)City, StateMessage

SEND

November 1st, 2015

You’re Worth It! Day Retreat for Women

Please use this form to request more information about the You’re Worth It! Day Retreat for Women presented by Danielle Bean.

jQuery(document).ready(function($) { jQuery(“#preloader-xfrqgj”).fadeOut(1500, function () { jQuery(“#ecf-form-xfrqgj”).fadeIn(300); }); $( ‘.ladda-button’ ).ladda( ‘bind’ ); $(function() { // Validation $(“#form-xfrqgj”).validate( { // Rules for form validation rules: { name0:{required: true},email1:{required: true,email: true},text2:{required: false},text3:{required: true},message4:{required: true,minlength: 10}, }, // Messages for form validation messages: { name0:{required: “This field is required”},email1:{required: “This field is required”},text2:{required: “This field is required”},text3:{required: “This field is required”},message4:{required: “This field is required”} },
// Do not change code below
errorPlacement: function(error, element) {
error.insertAfter(element.parent());
},

submitHandler: function (form) {
ecf_onsubmit(jQuery(‘.form-xfrqgj’));

},

invalidHandler: function (form) {
$.ladda( ‘stopAll’ );
},

onkeyup: false,
onfocusout: false,
onclick: false

});
});

/* Form Submit ( Ajax ) */
function ecf_onsubmit(form){

if(form.attr(‘action’)==’#’){

data = {};
eldat = [];
data[‘action’] = ‘ecf_deliver_mail’;
data[‘formid’] = ‘7510’;
data[‘security’] = ‘e8758da76b’;

jQuery(‘input, textarea’, form).each(function(key){

items = {};

if (typeof $(this).data(‘type’) === ‘undefined’) { return true; }

items[‘type’] = $(this).data(‘type’);
items[‘label’] = $(this).data(‘label’);
items[‘value’] = this.value;
items[‘name’] = this.name;

eldat.push(items);

}); // END form).each(function(key){

data[‘allelmnt’] = JSON.stringify(eldat);

submitForm();

return false;

} // End if(form.attr(‘action’)==’#’){

} // End ecf_onsubmit

// Start submitForm
function submitForm() {

jQuery.ajax({
url: ‘http://daniellebean.com/wp-admin/admin-ajax.php’,
type: ‘POST’,
dataType: ‘json’,
data: data,
success: function(data) {

if(data.Ok==true) {
// success
$(“#form-xfrqgj”).get(0).reset();

if(data.msg == ‘redirect’) {
window.location = “http://daniellebean.com/retreat”;
} else {
notifyme(‘Thank you for your interest! We will be in touch soon!’, ‘n’, ‘success’, ‘left middle’);
}

}
else {
$(“#form-xfrqgj”).get(0).reset();
notifyme(data.msg, ‘n’, ‘error’, ‘left middle’);
}

$.ladda( ‘stopAll’ );

}
});

} // End submitForm

// Notify
function notifyme(msg, b, typ, pos) {
if (b == ‘n’) {
b = ‘cf-submittedxfrqgj’;
} else {
b = ‘atcxfrqgj’;
}

$(“#”+b).gnotify(msg,{
style: “nbootstrap”,
elementPosition: pos,
className: typ
});

msg = null;
typ = null;

}

});

You’re Worth It! Day Retreat for Women
Name (requesting You’re Worth It retreat info)EmailOrganizationCity, StateMessage

SEND

Thank you for your interest!