How to input search terms via a separate form on a content page to a Views Exposed Filter on a different page? When visiting a content page (node), I want users to be able to input search terms into a form from there which will be fed into a View via its Views Exposed Filter.

The View I have is contained within Panels in a Panels-based page and it's Views Exposed Filter is made available as an external block. This approach allows me to layout this View and Views Exposed Filter with other separate items in other Panels.

Given that the Views Exposed Filter is made available as an external block, I can display it on other pages such as content. However, entering search into this form on these content pages results in the just the View being displayed - I need it to display the Panels-based page as mentioned above with the View results.

So I would somehow need to feed the input supplied by the user into the form on the content page, as a parameter into the Panels-based page.

My initial thoughts and questions on implementaton

Is it a case of using something like dpm() (which I have found useful in the past) to understand the form data being input so that input from the form can be fed to the Panels-based page and 'routed' to the Views Exposed Filter? I think the form data needed by the Views Exposed Filter is understood but how would I know where to submit the data i.e. can I give the URL for the Panels-based page as the form action URL and is there anything else I need to do so that the Panels-based page will convey the form input data to the Views Exposed Filter in the panel?
It is possible to use dpm() to understand the form data. In a custom module, you can use hook_form_alter() to act on the exposed filter form.

It would look something like this:

function example_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == 'views_exposed_form') {
    dpm($form);
  }
}


You can then set the action.

function example_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == 'views_exposed_form') {
    $form['#action'] = '/path-to-panel';
  }
}


Just beware that this will alter all the exposed filters on the site. You can create a different if statement to target them more specifically if you have more than one.