# application.lastresult$\[i].inputmode

## application.lastresult$\[i].inputmode <a href="#applicationlastresult_i_inputmode" id="applicationlastresult_i_inputmode"></a>

The mode in which user input was provided: dtmf or voice.

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <field name="myfield">
      <grammar type="application/x-jsgf" mode="voice">
        ( one | two )+
      </grammar>
      <grammar type="application/x-jsgf" mode="dtmf">
        ( 1 | 2 )+
      </grammar>
      <prompt>
        Say or enter any number of the digits one or two.
      </prompt>
      <filled>
        You said or entered <value expr="myfield"/>.
        The confidence level of this utterance is <value expr="myfield$.confidence"/>.
        The utterance of the input is <value expr="myfield$.utterance"/>.
        The way the input was entered is <value expr="myfield$.inputmode"/>.
        The way the input was interpreted is <value expr="myfield$.interpretation"/>.
      </filled>
      <nomatch>
        You did not say or enter any ones or twos.
        <reprompt/>
      </nomatch>
      <noinput>
        You did not say or enter anything.
        <reprompt/>
      </noinput>
    </field>
  </form>
</vxml>
```

### Explanation

None

### Notes

None


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/application-and-session-variables/application.lastresultusd-i-.inputmode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
