Jun 04, 2020 08:13 AM|georgeakpan233|LINK
In your code behind, you use "userid" to bind value to the input tag, but in the input tag, your id is "email-address".
Sorry about that; I was supposed to send the method from the test project but I mistakenly sent the the one from the main project.
In the code behind, when the ID is changed to email-address, the ID "email-address is not a recognized identifier due to the "-", and it will return an error.
Here is the method used in the test project and the <inpu> tag, both with the same ID
userid.Text = Session["user"].ToString();
<input type="email" id="userid" required />
May I please ask if you did change the ID in the java and it worked in your computer?