> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/charles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/charles/key-features/populate-an-input-field.md).

# Populate an input field

Use the action `Charles: Populate input field` workflow action and give it:

* A text value to populate the input with
* A CSS selector to select the input you want to populate
* Please note that Charles will automatically select the first element that matches the selector.

<figure><img src="https://1746625412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR8XSg57nbIyYLBX9iJLb%2Fuploads%2F7PqdQLI6puOSfuectQeh%2Fimage.png?alt=media&amp;token=a43ab317-ec19-4010-a547-3f4660563533" alt=""><figcaption></figcaption></figure>

Learn more about CSS selectors:

* <https://www.w3schools.com/jsref/met_document_queryselector.asp>
* <https://www.w3schools.com/css/css_selectors.asp>
* <https://www.w3schools.com/cssref/css_selectors.php>
