Is the drain pump running when it is filling? If yes then you have a problem with the main circuit board. If not then check that the drain hose is high enough. It must come up as high as the lid before going down to the drain outlet otherwise it will syphon the water out as fast as it fills.
Lincoln Appliance NZ, July 2011