Continuous dependence on data for solutions of partial differential equations with a prescribed bound