title: How call a function by pressing enter key in password input field in Login view?
body: <p>I have a login view. When I press login button I call <code>handleFooterBarButtonPress</code> function.
  How can I manage the enter-key action to call the same function when I press enter when I am in password field?</p>
  
  <pre><code>&lt;core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:l="sap.ui.layout" xmlns:f="sap.ui.layout.form"
          controllerName="view.login" xmlns:html="http://www.w3.org/1999/xhtml" &gt;
      &lt;Page title="WEBAPP"&gt;
          &lt;content&gt;
  
          &lt;FlexBox
            alignItems="Center"
            justifyContent="Center"&gt;
            &lt;items&gt;
              &lt;Image src="general/img/logo.png" width="{/widthL}"/&gt;
            &lt;/items&gt;
          &lt;/FlexBox&gt;
  
          &lt;FlexBox
            alignItems="Center"
            justifyContent="Center"&gt;
            &lt;items&gt;
  
              &lt;l:Grid
              defaultSpan="L12 M12 S12"
              width="auto"&gt;
              &lt;l:content&gt;
                &lt;f:Form id="loginForm"
                  minWidth="1024"
                  maxContainerCols="2"
                  editable="true"&gt;
                  &lt;f:title&gt;
                    &lt;core:Title text="" /&gt;
                  &lt;/f:title&gt;
                  &lt;f:layout&gt;
                    &lt;f:ResponsiveGridLayout
                      labelSpanL="3"
                      labelSpanM="3"
                      emptySpanL="4"
                      emptySpanM="4"
                      columnsL="1"
                      columnsM="1" /&gt; 
                  &lt;/f:layout&gt;
                  &lt;f:formContainers&gt;
                    &lt;f:FormContainer&gt;
                      &lt;f:formElements&gt;
                        &lt;f:FormElement label="Username"&gt;
                          &lt;f:fields&gt;
                            &lt;Input id="id_inputUsername" /&gt;
                          &lt;/f:fields&gt;
                        &lt;/f:FormElement&gt;
                        &lt;f:FormElement label="Password"&gt;
                          &lt;f:fields&gt;
                            &lt;Input id="id_inputPassword" type="Password" /&gt;
                          &lt;/f:fields&gt;
                        &lt;/f:FormElement&gt;
                      &lt;/f:formElements&gt;
                    &lt;/f:FormContainer&gt;
                  &lt;/f:formContainers&gt;
                &lt;/f:Form&gt;
              &lt;/l:content&gt;
            &lt;/l:Grid&gt;
  
  
            &lt;/items&gt;
          &lt;/FlexBox&gt;
  
  
          &lt;/content&gt;
          &lt;footer&gt;
          &lt;Bar&gt;
           &lt;contentRight&gt;
              &lt;Button id="idButtonLogin" text="Login" type="Emphasized" visible="true" press="handleFooterBarButtonPress" icon="sap-icon://accept" /&gt;
           &lt;/contentRight&gt;
          &lt;/Bar&gt;
          &lt;/footer&gt;
      &lt;/Page&gt;
  &lt;/core:View&gt;
  </code></pre>