Added class to form which to check for emptyness