How to show reset button in a view only when filter is applied?
hook_form_alter() can also do this

function module_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if($form_id == 'Your_form_id") {
    if (!$form_state['view']-&gt;exposed_input) {
      unset($form['reset']);
    }
  }
}


You will have some other value for ['view']->exposed_input. Use dpm(0 to get the exposed_input value. ['view']->exposed_input returns nothing if filter is not applied. Hope it works.