```javascript document.addEventListener("DOMContentLoaded", () => { // Retrieve the login and registration wrappers const loginWrapper = document.querySelector(".directorist-login-wrapper"); const registerWrapper = document.querySelector(".directorist-registration-wrapper"); if (!loginWrapper || !registerWrapper) return; // Determine current page and adjust display accordingly if (document.body.classList.contains("page-id-153403")) { // Show the registration form on the Signup page registerWrapper.classList.add("active"); loginWrapper.classList.remove("active"); loginWrapper.style.display = "none"; registerWrapper.style.display = "block"; } else { // Show the login form on other pages loginWrapper.classList.add("active"); registerWrapper.classList.remove("active"); registerWrapper.style.display = "none"; loginWrapper.style.display = "block"; } }); /* Style adjustments for the signup form */ /* Hide the username input and its label */ .directorist__authentication__signup #directorist__authentication__signup__username, .directorist__authentication__signup label[for="directorist__authentication__signup__username"] { display: none !important; } /* Remove bottom margin from the first form group */ .directorist__authentication__signup .directorist-form-group:first-child { margin-bottom: 0 !important; } document.addEventListener("DOMContentLoaded", () => { const form = document.querySelector(".directorist__authentication__signup"); const emailField = form.querySelector("#directorist__authentication__signup__email"); const usernameField = form.querySelector("#directorist__authentication__signup__username"); // Synchronize username with email input on each keystroke emailField.addEventListener("input", () => { usernameField.value = emailField.value; }); // Ensure username matches email when the form is submitted form.addEventListener("submit", () => { usernameField.value = emailField.value; }); }); ```

Professional Training Network

Sign up and start your journey today.

Explore daily discoveries.
─────── Or ───────
[signin_signup_directorist]

Wait!

Your  Free  AI Authoring Tool is Here

Free eLearning Authoring Tool

Create Courses in Minutes – Free!

With CogniSpark AI, turn your ideas into interactive eLearning with AI voiceovers, SCORM support, and video creation – no skills needed.

No thanks, I’ll try later.

Free Tools for L&D Professionals

Don’t Leave Without Free L&D Tools!

Create engaging courses, convert presentations, and generate videos with Paradiso’s free AI tools for L&D professionals.
No thanks, I’ll try later.
Product Tour

See Paradiso LMS in Action!

Take a free, no-pressure tour to explore admin, manager, and learner dashboards, plus AI-powered course creation.

No thanks, I’ll try later.

Free LMS

See The Free LMS In Action?

Get a personalized walkthrough of our powerful, yet completely free, Learning Management System. See how easy it is to train your team.

No thanks, I’ll try later.

Course Catalog

Don't Miss Free eLearning Content!

Access a vast library of professional course with certificates in Paradiso’s Course Catalog – start learning today.