//====================================================================================================

//	File Name		:	login.js

//----------------------------------------------------------------------------------------------------

//	Purpose			:	Client side validation in JavaScript.

//	Author			:	Dinesh Sailor

//	Creation Date	:	05-May-2003

//	Copyright		:	Copyrights © 2003 Dot Infosys

//	Email			:	info@dotinfosys.com

//	History			:

//						Date				Author					Remark

//						05-May-2003			Dinesh Sailor			Initial Release

//

//====================================================================================================



//====================================================================================================

//	Function Name	:	Form_Submit()

//	Purpose			:	This function will executed when user submits a form. It checks validity of 

//----------------------------------------------------------------------------------------------------

function Form_Submit(frm)

{

	with(frm)

    {



		if(!IsEmpty(login_name , 'Please Enter User Name.'))

        {

			return false;

        }

    	if(!IsEmpty(password , 'Please Enter Password.'))

        {

			return false;

        }

        return true;

    }

}







