WordPress WooCommerce Themes

Need help? Call us:

+971 50 886 0922

Please, enable Compare.

No products in the cart.

Find the right keyboard for you

Keyboards That Have You Covered.

Now on Sale

45% Flat

Show

SEEKEN SBR-XX1 SOUNDBREEZE 30W SPEAKER

Original price was: د.إ350.00.Current price is: د.إ229.00.
document.addEventListener('DOMContentLoaded', function () { // WooCommerce registration form submit button const form = document.querySelector('form.woocommerce-form-register'); if (form) { form.addEventListener('submit', function (event) { const mobileField = document.querySelector('#reg_woo_register_mobile'); const errorContainer = document.querySelector('#mobile-error-message'); // Remove existing error message if (errorContainer) { errorContainer.remove(); } // Validate mobile field if (!mobileField || mobileField.value.trim() === '') { event.preventDefault(); // Prevent form submission // Display error message const errorMessage = document.createElement('p'); errorMessage.id = 'mobile-error-message'; errorMessage.style.color = 'red'; errorMessage.textContent = 'Mobile Number is required.'; mobileField.parentNode.appendChild(errorMessage); // Add focus to the field mobileField.focus(); } }); } });