              if (!fullnameInput.value.includes(' ')) {
                    document.getElementById('fullnameError').innerText = 'Legal full name must contain at least one space.';
                    isValid = false;
                } else if (fullnameInput.value.length > 50) {
                    document.getElementById('fullnameError').innerText = 'Full name is too long.';
                    isValid = false;
                } else {
                    document.getElementById('fullnameError').innerText 