> For the complete documentation index, see [llms.txt](https://docs.mod91.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mod91.io/mod91-webview-sdk/api-reference/inputsapi.md).

# InputsAPI

Docs for InputsAPI methods.

### 1. openCustomKeyboard

```typescript
openCustomKeyboard(keyboardOptions: KeyboardOptions): Promise<string>
```

Opens custom number pad for input.

***

Accepts `KeyboardOptions` as parameter :&#x20;

`prefilledValue : string` : Value to prefill the keyboard input

`fieldLabel : string` : Label of the input field

`fieldID : string`: ID of the input field

`isMaskingRequired : boolean` : Does the input require masking&#x20;

`minLength : number` : minimum length to be entered

`maxLength : number` : maximum length to be entered

`autoCloseLimit : number` : close custom keyboard when when the input reaches this limit

***

Returns `string` of input entered
