Docusate sodium, an ingredient in Soflax Oral Solution, is a member of the stool softener drug family. It is used to prevent and cure constipation that occurs occasionally as a result of firm stools. Docusate sodium makes the stool softer and easier to pass by adding more water to it.