> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_dialogs/custom-input.md).

# Custom input

![](https://gblobscdn.gitbook.com/assets%2Fastro-rpa%2F-M-fe71a7oWXLrVv-9kL%2F-M-feFTugXUvuoGIT1BY%2F0.png?generation=1581280463668702\&alt=media)

Element that displays the user data entry window.

![](/files/02GsVmTf76Ej7REVy39P)

Properties

\- URL\*: \[String] dialog URL (For example: <http://myserver/dialog.html> или file:///c:/dialog.html)

\- Width\*: \[Int32] Dialog width

\- Heght\*: \[Int32] Dialog height

\- Result: \[String] data obtained from the dialog

Example of dialog page:

```
<!DOCTYPE html>
<html lang="en">
 <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Astro Dialog</title>
  </head>
  <body>      
          Имя:<br>
          <input type="text" id="First_Name"><br>
          Фамилия:<br>
          <input type="text" id="Last_Name"><br>
          Возраст:<br>
          <input type="text" id="Age"><br>
          <button onclick="SubmitValues()">Отправить</button>


          <script type="text/javascript">
          function SubmitValues(){
            var First_Name = document.getElementById("First_Name").value;
            var Last_Name = document.getElementById("Last_Name").value;
            var Age = document.getElementById("Age").value;
            window.external.finished(First_Name + "," + Last_Name + "," + Age);
            return true;
          }            
          </script>
  </body>
  </html>

```

To pass data to the robot you need to call the function window\.external.finished


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_dialogs/custom-input.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.
