Adding a 'search tips' link next to the search button in a views-based search I'm using a Drupal 7 views-based search. I have a search button in there of course. I'd like to add a link next to it called 'search tips' that goes to a 'basic page'. Anyone know how to add a link there?

This is the code I have so far:

&lt;?php

  /*
    * Implementation of hook_form_alter()
    */
  function search_tips_link_form_alter(&amp;$form, &amp;$form_state, $form_id) {
    if($form_id == "views_exposed_form") {
    // there's a submit button in here I'd like to add a link after that...
    // not sure how to place a link with this function.
    }
  }
You need to:


Find the specific view exposed form by using the #id array key.
Find for the search button array key. 
Use the #suffix form key to append your link.


A helpful tool to look into the array structure is by using the dsm() function from Devel module.

Additional information for best practice is that use the l() function to structure your link.

So it would look something like:

if ($form['#id'] == 'views-exposed-form-test-page') {
  $form['submit']['#suffix'] = l(t('Search tips'), 'link-to-basic-page');
}