Your partner should check their credit report including the score to see where they stand. For a free credit report
For a free credit score
If the credit score is 749 or better your partner will have a good chance of finding a good mortgage product. If the score is lower than that then they might consider credit repair to rebuild and repair credit that was damaged due to the foreclosure. Good luck!
The Credit Repair Expert