I am using hook_form_alter() with custom submit handler (). At submit I want to check if there is any change in the content except node->expire then my custom code will run.
but at $form_state['value'] I am also getting: nid, vid, uid, created changed etc. and I have field type as taxonomy term reference and media files.
I do not want to hard-code the fields name as admin may add new fields later on.