Is it possible to apply a condition to a "Next" button?