Whenever I click register it says, "your file was not found" and alerts are not showing

    <!DOCTYPE html>
    <html>
    
    <head></head>
    
    <body>
        <form name="myForm" action="/action_page.php" method="post" onsubmit="return Function()">E-mail:
            <input type="text" id="email" name="email">
            <br>Password:
            <input type="password" id="password" name="password">
            <br>Repeat Password:
            <input type="password" id="password2" name="password2">
            <br>
            <input type="submit" value="Register">
        </form>
        <script type="text/javascript">
            function Function() {
            
            var email = document.getElementById ("email").value;
            var password = document.getElementById("password").value;
            var password2 = document.getElementById("password2").value;
            
            var emailpattern = /^[^ ]+@[^ ]+\.[a-z]{2,3}$/;
              if (email.match.value(emailpattern)) {
                alert ("Email is valid!");
                return true;
                }
              else {
                alert ("Not a valid email!");
                return false;
                }
                  
            if (email.length < 5) {
            alert("Not a valid email!");
            return false;
            }
            else {
              alert("Email is valid!");
              return true;
              }
              
              if (password.length < 4) {
              alert("Password is too short");
              return false;
              }
              else {
                alert("Password is valid");
                return true;
                }
              
              if (password2.length< 4) {
                alert ("Password is too short");
                return false;
                }
              else {
                  return true;
                  }
                
              if (password != password2) {
                alert ("Passwords does not much");
                return false;
                }
              else {
                return true;
                }
            }
        </script>
    </body>
    
    </html>

170 thoughts on “Whenever I click register it says, "your file was not found" and alerts are not showing”

  1. i need a large loan with bad credit, i need a emergency loan today. i need a quick loan no credit check i need loan i need a loan today i need a quick loan no credit check, 60 day cash advance loans, cash advance online, cash advance loans, do cash advance loans help your credit. Investment lending to money, internationally active.

    Reply
  2. Partners and kids under the age of 21 who wish to accompany or join you in the U.S. Prepare and submit your E-2 Adjustment of Status (this get E-2 candidates that are currently in the united state.

    Reply
  3. Howdy just wanted to give you a quick heads up. The text in your article seem to be running off the screen in Firefox. I’m not sure if this is a format issue or something to do with internet browser compatibility but I thought I’d post to let you know. The design look great though! Hope you get the issue fixed soon. Cheers

    Reply

Leave a Comment