I have my form in my action:
$this->form = new SomeForm($this->data);
the form has a bunch of fields I don’t need for one action but has stuff I need for another action. What is the best way to handle this? Create an individual form for each necessity or dynamically remove fields when I instantiate it as above?
Thanks
It sounds like you are doing a multi-part form.
I assume that you want to validate all the values submitted in your form, but just not save them.