Try Going Nude
For some, underwear still isn’t enough for your child to realize that they can’t do their business in their pants. Sometimes it’s just a better idea to just let them go nude.
Without anything to catch their pee and poo, your child may be more likely to hold it until they are able to get to the potty. They are less likely to squat over the floor and do their business than they would be if they had a “safety” to fall back on.
Let them run around and play for a while without any pants on; they may even want to get rid of all their clothes altogether. It can be fun for them as well as helpful. Just be sure to let them know to tell you when they feel like they have to go to the bathroom.