This piece of code hopefully speaks largely for itself.

Note: The ‘view name’ in this piece of code is ‘sws_list’ so that you can easily identify it.

<?php
function sws_form_alter($form_id, $form) {
  if (
$form_id == 'views_filters_sws_list') {
   
$form['submit']['#value'] = t('Search');
  }
}
?>

Post new comment

The content of this field is kept private and will not be shown publicly.