I am working on a PHP file where password and email has to have a requirement for their files. Requirements I am doing in a separate document.
So far for my password I have this set up in register.php ->
<div class="tRow>
                <div class="tCell"><label for="txtpassword">Password:</label></div>
                <div class="tCell">
                <input type="password" id="txtpassword" name="Password"/>
                </div>
            </div><!-- END OF THIS SELECTION -->`
When user clicks Submit Button
-> div class="tRow">
                    <div class="tCell"><input type="submit" id="submit_button" value="Sumbit" onclick="CheckLength('txtpassword')" /></div>
                </div><!--END OF THIS SELECTION-->
I am currently doing the same for email.
<div class="tRow>
                    <div class="tCell"><label for="user_email">E-mail:</label></div>
                    <div class="tCell">
                    <input type="text" id="user_email" name="E-mail"/>
                    </div>
                </div><!-- END OF THIS SELECTION -->
Any suggestions on how to add the requirement for the email?
 
     
     
    