> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 文本输入对话框

## 指令说明

**描述：** 弹出对话框，让用户输入文本并点击确认，返回用户输入的文本内容

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/others/images/showtextinputcommand-01.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=774f62d70d56345faf85f332262b2534" alt="文本输入对话框指令参数面板" width="651" height="531" data-path="helpcenter/commands/others/images/showtextinputcommand-01.png" />

    | 参数         | 说明                               |
    | ---------- | -------------------------------- |
    | **对话框类型**  | 请选择需要使用的输入框类型，支持文本框和多行文本框        |
    | **输入框标题**  | 输入框的标题，如用户名，建议8个字符以内，更多可以使用输入框描述 |
    | **输入框描述**  | 输入框填写提示，可进一步提醒用户需要输入的内容          |
    | **输入框默认值** | 输入框内默认显示的文本内容                    |
  </Tab>

  <Tab title="高级">
    | 参数          | 说明                       |
    | ----------- | ------------------------ |
    | **对话框标题**   | 弹出对话框窗口的标题               |
    | **输入框空白提示** | 未在输入框中输入内容且没有默认值时显示的提示信息 |
    | **输入框为必填框** | 设置输入框内容是否为必填，默认为非必填      |
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/others/images/showtextinputcommand-04.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=eb849e6248da76148f32d0dd686136ba" alt="文本输入对话框使用示例" width="639" height="528" data-path="helpcenter/commands/others/images/showtextinputcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/others/images/showtextinputcommand-02.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=c934ca7e78e133b39736e84a76bc7387" alt="文本输入对话框使用示例" width="747" height="298" data-path="helpcenter/commands/others/images/showtextinputcommand-02.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/others/images/showtextinputcommand-03.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=cb2169b40c53f7c7e8858615e35af472" alt="文本输入对话框使用示例" width="870" height="142" data-path="helpcenter/commands/others/images/showtextinputcommand-03.png" />

**该流程执行逻辑：**

流程弹出文本输入对话框，提示用户填写所需内容；用户确认后，将输入值保存到指令生成的结果变量，供后续流程继续使用。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/others/images/showtextinputcommand-05.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=a4a7ddeb000b2e8877d1c43957af32e8" alt="文本输入对话框效果展示" width="1346" height="175" data-path="helpcenter/commands/others/images/showtextinputcommand-05.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
