dishwater not always filling with water

I have a maytag which worked great until recently. It was not filling with water, I replaced the float and switch and worked.:slight_smile: It has since worked fine for one load and not filling the next:(. I opened it, and it worked fine. Does anyone know what’s wrong?
Ken

[SIZE=4]DUPLICATE[/SIZE]

See below
http://forum.appliancepartspros.com/dishwasher-repair/50501-dishwater-not-always-filling-water.html