AutoSubmitting

AutoSubmitting[spec]

表示一个表单元素,如果被输入,则自动提交整个表单.

更多信息

  • FormFunction[AutoSubmitting[formspec],] 表示一个表单,每当输入 formspec 的任意字段时自动提交.
  • FormFunction[{,"namei"->AutoSubmitting[rhsi],}] 表示一个表单,它在名称为 namei 的字段被输入时自动提交.
  • AutoSubmitting 也可以用于 FormObject,但仅通过 FormFunction 起作用.

范例

基本范例  (1)

封装在 AutoSubmitting 的字段,一旦用户退出字段,就提交表单:

退出第一个字段使得表单提交,这在第二个字段中产生错误:

Wolfram Research (2015),AutoSubmitting,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AutoSubmitting.html.

文本

Wolfram Research (2015),AutoSubmitting,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AutoSubmitting.html.

CMS

Wolfram 语言. 2015. "AutoSubmitting." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/AutoSubmitting.html.

APA

Wolfram 语言. (2015). AutoSubmitting. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/AutoSubmitting.html 年

BibTeX

@misc{reference.wolfram_2024_autosubmitting, author="Wolfram Research", title="{AutoSubmitting}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AutoSubmitting.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_autosubmitting, organization={Wolfram Research}, title={AutoSubmitting}, year={2015}, url={https://reference.wolfram.com/language/ref/AutoSubmitting.html}, note=[Accessed: 25-November-2024 ]}