//====================================================================================================
//    File Name        :    forgotpassword.js
//    # File Version: v 1.0
//    # Created By: Maulik Chandarana
//    # Created On: 11 June 2007
//    # Last Modified By:
//    # Last modified On:
//  # Purpose : This is file carries validation and other related function for Forgot password page.
//----------------------------------------------------------------------------------------------------

//====================================================================================================
//    Function Name    :    Form_Submit()
//    Created By: Maulik Chandarana
//    Created On: 11 June 2007
//    Last Modified By:
//    Last modified On:
//  Purpose : Validates form variables 
//  Parameters: frm : Form name for which variables need to validate.
//----------------------------------------------------------------------------------------------------
function Form_Submit(frm)
{
    with(frm)
    {
        if(!IsEmpty(txtEmail, 'Please Enter Email Address.'))
        {
            return false;
        }
        if(!IsEmail(txtEmail,'Please Enter Valid Email Address'))
        {
            return false;
        }
        submit();
    }
}
