Hey there, looking to adopt AI? First check your AI readiness

Assess Now

Table Hierarchy

  • April 1, 2021
  • Aelum Consulting

Table Hierarchy in Servicenow: Complete Guide

GlideTable Hierarchy is a ServiceNow Server scoped API which provides information about the Table hierarchy and relationships. We have TableUtils API which can be used to retrieve the hierarchy of […]

Read More
// document.addEventListener('DOMContentLoaded', function () { // // List of blocked free/personal domains // const blockedDomains = [ // "gmail.com", "yahoo.com", "hotmail.com", "outlook.com", "aol.com", "live.com", // "protonmail.com", "icloud.com", "zoho.com", "yandex.com", "mail.com", "gmx.com" // ]; // // Handle CF7 submit via AJAX // document.querySelectorAll('.wpcf7 form').forEach(form => { // form.addEventListener('submit', function (e) { // let isValid = true; // // Remove previous error messages // jQuery(form).find('.business-email-error').remove(); // // Check each email input // jQuery(form).find('input[type="email"]').each(function () { // const $input = jQuery(this); // const email = $input.val().trim(); // const domain = email.split('@')[1]?.toLowerCase(); // if (domain && blockedDomains.includes(domain)) { // isValid = false; // $input.after('Please use a valid business email address.'); // } // }); // // If not valid, stop the submission // if (!isValid) { // e.preventDefault(); // e.stopImmediatePropagation(); // STOP AJAX submission // return false; // } // }); // }); // // Optional: Remove error on focus // jQuery(document).on('focus', '.wpcf7 input[type="email"]', function () { // jQuery(this).next('.business-email-error').remove(); // }); // // });