Custom Action to edit a with less number of fields

Custom Action to edit a with less number of fields

I am trying to create a custom action which opens the edit window for the view record. But I want some fields to be hidden in this edit window. How can this be implemented?