I have a form with inputs that do not really belong inside any model. Things like "confirm password" and "I accept these conditions" etc.
What is the best practice for situations such as this?
I thought about the following possibilities:
- Create a temporary model inside the controller action with validation rules.
- Create a separate model for these inputs.
- Some other feature in cake 2.x specifically for this situation?
I've read many answer posts about this but either the answer is for v1.x of cake and might be outdated, or people propose to put all that stuff inside the model with the closest relationship to the current controller. So what is the best practice?
Thanks!