Redirect according to views filter input I have a view with two filters (country and city) on node (country) page. What I want is redirect to another node page according to user input (filter country). So if user viewing page node/uk and chooses USA in country filter and New York in city filter, drupal must redirect to page node/usa showing results for New York. View is using AJAX.
Tried using drupal_goto in views exposed form submit but this produces error Drupal.Views.Ajax.handleErrors is not a function in ajax_view.js. Help me please.
You can do it using hook_form_alter() on the exposed filter form.
It is very well explained in this post.
A drupal_goto() depending on the input entered should work.