Is the drain pump running when it is filling? If so then the PCB control module has failed. If not then check that the drain hose comes up higher than the top deck of the machine before going down to the drain point otherwise it will syphon out.
Lincoln Appliance NZ, March 2010