# sendkeysbytext

Fill an input field



| Variable  | Value | Description                 |
| --------- | ----- | --------------------------- |
| Property  | text  | text display on the screen  |
| Parameter | value | value to enter in the field |
|           |       |                             |

The associated `label`, `aria-label`, `placeholder`, `adjacent text`, or`current value` can be used to identify the field.

For example, in [https://webactions.w3spaces.com/input.html](https://webactions.w3spaces.com/input.html) , the first name field has a `label` "First Name:"

![](https://625378592-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6qPd3r7cSkNl3PrlgVA%2Fuploads%2FdXYaQQ4gUZ5idikeMUD2%2Fimage.png?alt=media\&token=89ddb9e5-8b86-4678-b732-c80054547d85)

if we use the action sendkeysbytext with Property="First Name:" and Parameter="John", it will fill the first name field with value John :

![](https://625378592-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6qPd3r7cSkNl3PrlgVA%2Fuploads%2FsHHMpfF00WMmw08m3sNJ%2Fimage.png?alt=media\&token=82ce8c46-267b-4098-8870-0dfce36104ec)

{% hint style="info" %}
We can use context to manage duplicated text. For example, if we use the action sendkeysbytext with Property="First Name:|context=The input element" it will search for the first name field in the context of "The input element" .&#x20;
{% endhint %}
