Title: Search Function Automatically Goes!
Last modified: August 19, 2016

---

# Search Function Automatically Goes!

 *  [bsteinlo](https://wordpress.org/support/users/bsteinlo/)
 * (@bsteinlo)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/search-function-automatically-goes/)
 * Hi-
 * I have this website: [http://www.ecodana.com](http://www.ecodana.com)
 * Currently, as soon as you go into the search field, it automatically queries 
   without letting you type first. Any ideas???? ‘
 * In my searchform.php the code is…
 *     ```
       <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
        <input type="text" value="<?php the_search_query(); ?>" name="s"
            id="s" size="45" onfocus="this.value=''" />
        <input type="image" src="http://iamerica.backyardpolitics.org/wp-content/themes/arras-theme/images/Search.png" id="searchsubmit" value="<?php _e('Search', 'arras') ?>" />
       </form>
       ```
   

The topic ‘Search Function Automatically Goes!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [bsteinlo](https://wordpress.org/support/users/bsteinlo/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/search-function-automatically-goes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
