shorten input text size and maxlength with exposed filters I use Drupal-7.14 and Omega sub theme.
I have a view of my content type with exposed filters.
When focusing input tags, HTML output is like this:

&lt;div class="view-filters"&gt;
  &lt;form action="/searchedlist" method="get" id="views-exposed-form-searchedlist-page-1" accept-charset="UTF-8"&gt;
    &lt;div&gt;
      &lt;div class="views-exposed-form"&gt;
         &lt;div class="views-exposed-widgets clearfix"&gt;
            &lt;div id="edit-field-bango-value-wrapper" class="views-exposed-widget views-widget-filter-field_bango_value"&gt;
              &lt;label for="edit-field-bango-value"&gt; BANGO &lt;/label&gt;
                &lt;div class="views-widget"&gt;
                  &lt;div class="form-item form-type-textfield form-item-field-bango-value-min"&gt;
                    &lt;input type="text" id="edit-field-bango-value-min" name="field_bango_value[min]" value="" size="30" maxlength="128" class="form-text" /&gt;
                  &lt;/div&gt;
                  &lt;div class="form-item form-type-textfield form-item-field-bango-value-max"&gt;
                    &lt;label for="edit-field-bango-value-max"&gt;And &lt;/label&gt;
                    &lt;input type="text" id="edit-field-bango-value-max" name="field_bango_value[max]" value="" size="30" maxlength="128" class="form-text" /&gt;
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;


Please show me how to change the input text size from 30 to 10 and its maxlength from 128 to 20.

for other startup people

I've reached the solution.

# mkdir sites/all/modules/mymodule
# cd sites/all/modules/mymodule
# vi mymodule.info
# cat mymodule.info
name = mymodule
description = mymodule for dummy
package = mymodule
files[] = mymodule.module
version = "7.x-1.0"
core = "7.x"
# vi mymodule.module
# cat mymodule.module
&lt;?php
function mymodule_form_alter(&amp;$form, &amp;$form_state, $form_id){
  if($form_id == "views_exposed_form"){
    //dsm($form); // print $form array on the top of the page
    if (isset($form['field_bango_value']['min']) &amp;&amp; isset($form['field_bango_value']['max'])) {
      $form['field_bango_value']['min']['#size'] = '10';
      $form['field_bango_value']['max']['#size'] = '10';
      $form['field_bango_value']['min']['#maxlength'] = '20';
      $form['field_bango_value']['max']['#maxlength'] = '20';
    }
  }
}
# wget http://ftp.drupal.org/files/projects/devel-7.x-1.3.tar.gz
# tar xzf devel-7.x-1.3.tar.gz
# mv devel modules


Admin > Modules

Check the boxes on mymodule and Devel,then Save.

Admin > config > development > performance

Clear caches.

Browse hostname/myview

Finally, HTML input tags says:

&lt;input type="text" id="edit-field-bango-value-min" name="field_bango_value[min]" value="" size="10" maxlength="20" class="form-text" /&gt;
&lt;input type="text" id="edit-field-bango-value-max" name="field_bango_value[max]" value="" size="10" maxlength="20" class="form-text" /&gt;
You should be able to use a regular hook_form_alter and has a great answer already, check it out and it should answer your question.