ServiceNow Platform | Integration – Orchestration
































‘);

firstCta.prependTo(‘.first-hero-cta’);
secondCta.prependTo(‘.second-hero-cta’);
setTimeout(function(){$(‘.second-hero-cta a’).removeAttr(‘class’);}, 200);
//$(‘.new-banner-page .cta-list-new’).html(”).append(wrapFirst);

if($(“.cta-rectangle-box”).length > 0){
$(“.cta-rectangle-box”).hover(
function(){
$(this).children(‘span’).css({“transition”: “all 0.3s ease-out”,”width”: “100%”,”left”: “0”});
},
function(){
$(this).children(‘span’).css({“left”: “100%”});
var that = $(this).children(‘span’);
setTimeout(function(){
// console.log(“hello”);
that.css({“transition”: “all 0s”, “width”: “0”, “left”: “-100%”});
}, 300);

}
);
}

}
}, 200)
})















Thank You

Thank you for submitting your request. A ServiceNow representative will be in contact within 48 hours.











‘);
}

setTimeout(function(){

emailFieldNew.on(“blur”,function(event){
var thisValue = event.currentTarget.value;
var pass = null;

if(thisValue){
// errorMessageEmailSetup($(event.currentTarget), null);
if(!validateEmailAddress(thisValue)){

errorMessageEmailSetup($(event.currentTarget), ‘add’, translationEmail);
$(event.currentTarget).removeClass(“LV_valid_field”).addClass(“LV_invalid_field”)
}else{
errorMessageEmailSetup($(event.currentTarget), null, null);
$(event.currentTarget).removeClass(“LV_invalid_field”).addClass(“LV_valid_field”)
}
}
})
}, 0)
//remove the value for invalid email so the form doesn’t submit;
$(‘form[name=’ + formNameEloqua + ‘] button.submit-form, form[name=’ + formNameEloqua + ‘] button.submit-button’).on(‘click’,function(){
if(emailFieldNew.hasClass(“LV_invalid_field”)){
emailFieldNew.val(“”);
}
});

/* Basic FE email validation END */


//get the url of current page and parse it to input tag
if($(‘input[name=”pageurl”]’).length > 0){
var windowHref = window.location.href;
$(‘input[name=”pageurl”]’).val(windowHref);
};

//hide and show the labels as to act like a placeholder

$(document).ready(function(){
setTimeout(function(){
$(‘.elq-global-fly-out-form input, .elq-global-fly-out-form select’).each(function(){
// //console.log(‘$(this).val()–>’, $(this).val());
if($(this).val() !== “”) {
// //console.log(‘no value found’);
$(this).parent(‘p’).find(‘label.form-field-label’).hide();
}else {
$(this).parent(‘p’).find(‘label.form-field-label’).show();
}
});
},2000);

$(‘.elq-global-fly-out-form input, .elq-global-fly-out-form select’).keyup(function(){
if($(this).parent(‘p’).find(‘label.form-field-label’)) {
if($(this).val().length > 0) {
$(this).parent(‘p’).find(‘label.form-field-label’).hide();
}else{
$(this).parent(‘p’).find(‘label.form-field-label’).show();
}
}
})
$(‘label.form-field-label’).click(function(){
$(this).parent(‘p’).find(‘input’).focus();

})

});















Source

Leave a comment

Your email address will not be published. Required fields are marked *