Dynamically add or remove stages

Dynamically add or remove stages

Is it possible to dynamically add or remove stages from potentials based on another value in the form such as the amount?

We have 3 types of potentials (small, medium, and large) each one has a specific set of stages. I would like to only show the stages that are relevant to each size.