simple_search field value modification

I am trying to modify the value of the search button from "submit" to "search" because some of our users are getting confused with the term "submit".

When I looked at the source I figured out that I could simply change value="Submit" to value="Search"

<div id="search">
<form id="simple-search" action="http://localhost/mk/items/browse" method="get">
<input type="text" class="textinput" name="search" value=""/>
<input type="submit" name="submit_search" id="submit_search" value="Submit" /> </fieldset>

After looking around I realized I should be looking for simple_search function

<?php echo simple_search(array('id'=>'simple-search'),uri('items/browse')); ?>

Am I doing this right? Can anyone point me to the right direction?


The simple_search function is in application/helpers/FormFunctions.php. It is about halfway down, around line 232.

In the simple_search function, I think you can just change the value below of argument "Submit" to "Search" and you'd be good to go.
<?php submit("Submit","submit_search"); ?>

Hope that helps.


Your instruction provided the solution to my problem, surely it saved me a lot of time from looking for the simple_search function.