Select search form method (get/post) based on query lenght