Using default/ predefined value for form

I do not want to show some of my required columns in the view but store a default value for them through the controller.

How can I go about achieving this?


You can create hidden field in you view, or set value to your field in your controller before doing validate.