Preventing Deals from moving to next stage unless certain criteria is met

Is there a way to set up, pretty much functions like required fields, where we prevent Deals from moving forward to the next stage unless certain criteria is met? e.g. must fill in XX field before moving a deal to won?