Posted by Merlin on Sun Aug 27, 2006 8:36 am.
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