<apex:form styleClass="container">
<apex:actionRegion >
<div class="col-md-3 col-sm-5 col-xs-5 input-group">
<apex:inputText value="{!searchString}" styleClass="form-control" html-placeholder="Search" />
<span class="input-group-btn">
<apex:commandButton value="Go" action="{!Search}" rerender="searchResults" styleClass="btn btn-default"></apex:commandButton>
</span>
</div>
<apex:pageBlock id="searchResults">
<apex:pageBlockTable value="{!results}" var="a" id="tblResults" styleClass="table-gray col-md-6 col-sm-12 col-xs-12">
<apex:column >
<apex:facet name="header">
<apex:outputPanel >Name</apex:outputPanel>
</apex:facet>
<apex:outputLink value="#" onClick="Javascript:parent.setValue('{!a.Name}','{!inputId}')">{!a.Name}</apex:outputLink>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:actionRegion>
</apex:form>
The problem is that when I type something into the inputText and press 'enter' it does not rerender or preform the action. How can I make it so that the user can press either 'Go' or press 'enter'?