Email Field Plays Hide n Seek

The Email fielld on the home page is there in Design Mode but not in Live Mode. It was not there earlier and the Name fields dropped down. I moved some code around and now there’s an empty space so I’m fairly certain it’s the code.

$w.onReady( function () {
//TODO: write your page related code here…

let emailAddr = $w(“#emailAddr”).value;
let confirmEmail = $w(“#confirmEmail”).value;

if (emailAddr === confirmEmail) {
console.log(“They match!”);
} else {
console.log(“The don’t match”);
}

let password1 = $w(“#password1”).value;
let password2 = $w(“#password2”).value;

if (password1 === password2) {
console.log(“They match!”);
} else {
console.log(“The don’t match”);
}
});
Thank yoou for helping out.



Please post the editor URL of your site. Only authorized Wix personnel can get access to your site in the editor. Please include the name of the page involved.

PreRegister page. As I was duplicating user user input fields, all of a sudden a copy of the fields I’m having trouble with appeared. Notice the Email field in the set of fields on the right.

You didn’t supply the editor URL of your site.

The Email field appears to be collapsed on load :

Yisreal,

Thank you very much. That was the problem. Too bad there isn’t an ‘i’ by these selections so users can learn what happens when they are selected, as is in the bottom part of the Properties popup.

Again, Thank you!
Ken